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 File: StatusEventSatisf.java    From youkefu with 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 #2
Source File: EkmKnowbaseOrgan.java    From youkefu with 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 File: AgentStatus.java    From youkefu with 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 #4
Source File: AgentReport.java    From youkefu with 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 #5
Source File: RequestLog.java    From youkefu with 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 File: Generation.java    From youkefu with 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 File: EkmDimension.java    From youkefu with 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 File: IMGroup.java    From youkefu with 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 File: SkillExtention.java    From youkefu with 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 File: CallOutRole.java    From youkefu with 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 #11
Source File: QueSurveyQuestion.java    From youkefu with 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 #12
Source File: CallMonitor.java    From youkefu with 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 #13
Source File: Quality.java    From youkefu with 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 File: Media.java    From youkefu with 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 #15
Source File: SessionConfig.java    From youkefu with 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 File: EkmKnowledgeTimes.java    From youkefu with 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 #17
Source File: Contacts.java    From youkefu with 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 #18
Source File: Role.java    From youkefu with 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 #19
Source File: Tag.java    From youkefu with 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 File: SalesPatter.java    From youkefu with 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 File: EkmKnowbase.java    From youkefu with 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 File: QueSurveyResultPoint.java    From youkefu with 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 File: Log.java    From youkefu with 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 = "uuid")
public String getId() {
	return id;
}
 
Example #24
Source File: DeviceProductEntity.java    From jetlinks-community with Apache License 2.0 5 votes vote down vote up
@Override
@GeneratedValue(generator = Generators.SNOW_FLAKE)
@Pattern(
    regexp = "^[0-9a-zA-Z_\\-]+$",
    message = "ID只能由英文下划线和中划线组成",
    groups = CreateGroup.class)
public String getId() {
    return super.getId();
}
 
Example #25
Source File: CallOutConfig.java    From youkefu with 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 File: OrganRole.java    From youkefu with 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 File: EkmKnowledge.java    From youkefu with 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 #28
Source File: PropertiesEvent.java    From youkefu with 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 File: EkmCollectFolder.java    From youkefu with 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 #30
Source File: NoticeTarget.java    From youkefu with 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;
}