javax.persistence.GeneratedValue Java Examples

The following examples show how to use javax.persistence.GeneratedValue. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: youkefu   Author: zhangyanbo2007   File: OrdersComment.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator= "paymentableGenerator")
@GenericGenerator(name= "paymentableGenerator",strategy = "assigned")	
public String getId() {
	return id;
}
 
Example #2
Source Project: youkefu   Author: zhangyanbo2007   File: CalloutSaleCount.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #3
Source Project: youkefu   Author: zhangyanbo2007   File: Favorites.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator= "paymentableGenerator")
@GenericGenerator(name= "paymentableGenerator",strategy = "assigned")
public String getId() {
	return id;
}
 
Example #4
Source Project: youkefu   Author: zhangyanbo2007   File: EkmKnowledgeCollect.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator= "paymentableGenerator")
@GenericGenerator(name= "paymentableGenerator",strategy = "assigned")
public String getId() {
	return id;
}
 
Example #5
Source Project: youkefu   Author: zhangyanbo2007   File: Organ.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #6
Source Project: youkefu   Author: zhangyanbo2007   File: QualityConfig.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #7
Source Project: youkefu   Author: zhangyanbo2007   File: EkmKnowbaseRole.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #8
Source Project: youkefu   Author: zhangyanbo2007   File: EkmAudit.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #9
Source Project: youkefu   Author: zhangyanbo2007   File: AgentUserContacts.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #10
Source Project: opensharding-spi-impl-example   Author: OpenSharding   File: OrderItemEntity.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(name = "order_item_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Override
public long getOrderItemId() {
    return super.getOrderItemId();
}
 
Example #11
Source Project: youkefu   Author: zhangyanbo2007   File: QuickReply.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "assigned")		
public String getId() {
	return id;
}
 
Example #12
Source Project: youkefu   Author: zhangyanbo2007   File: FormFilterItem.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * @return the id
 */
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "assigned")	
public String getId() {
	return id;
}
 
Example #13
Source Project: youkefu   Author: zhangyanbo2007   File: PbxHostLog.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #14
Source Project: youkefu   Author: zhangyanbo2007   File: EkmKnowledgeType.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #15
Source Project: youkefu   Author: zhangyanbo2007   File: QueSurveyResult.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #16
Source Project: youkefu   Author: zhangyanbo2007   File: AgentUser.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return this.id;
}
 
Example #17
Source Project: youkefu   Author: zhangyanbo2007   File: WorkTime.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #18
Source Project: Exam-Online   Author: Corvey   File: SysModifyLog.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "uuid")
@Column(columnDefinition = "char(32)")
@Override
public String getId() {
	return id;
}
 
Example #19
Source Project: youkefu   Author: zhangyanbo2007   File: PublishedReport.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #20
Source Project: youkefu   Author: zhangyanbo2007   File: WeiXinUser.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #21
Source Project: youkefu   Author: zhangyanbo2007   File: ColumnProperties.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #22
Source Project: youkefu   Author: zhangyanbo2007   File: QualityActivityTask.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #23
Source Project: youkefu   Author: zhangyanbo2007   File: FormFilter.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #24
Source Project: youkefu   Author: zhangyanbo2007   File: EkmKnowledgeTypeAuth.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #25
Source Project: youkefu   Author: zhangyanbo2007   File: CallCenterSkill.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #26
Source Project: youkefu   Author: zhangyanbo2007   File: NoticeTarget.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #27
Source Project: youkefu   Author: zhangyanbo2007   File: EkmCollectFolder.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
public String getId() {
	return id;
}
 
Example #28
Source Project: youkefu   Author: zhangyanbo2007   File: PropertiesEvent.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}
 
Example #29
Source Project: youkefu   Author: zhangyanbo2007   File: EkmKnowledge.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "assigned")	
public String getId() {
	return id;
}
 
Example #30
Source Project: youkefu   Author: zhangyanbo2007   File: OrganRole.java    License: Apache License 2.0 5 votes vote down vote up
@Id
@Column(length = 32)
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")	
public String getId() {
	return id;
}