Java Code Examples for javax.persistence.GeneratedValue

The following examples show how to use javax.persistence.GeneratedValue. These examples are extracted from open source projects. 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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
@Id
@Column(name = "order_item_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Override
public long getOrderItemId() {
    return super.getOrderItemId();
}
 
Example 11
Source Project: youkefu   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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;
}