#919 - io.ebean package initial

This commit is contained in:
Rob Bygrave
2016-12-11 23:23:22 +13:00
parent 5821dc96b9
commit 971e2dc91b
2134 changed files with 10721 additions and 8652 deletions
@@ -0,0 +1,41 @@
package org.tests.idkeys.db;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
// Just let Ebean define Identity mechanism for testing across all DB types
//@SequenceGenerator(name = "AD_SEQ_NAME", sequenceName = "AD_SEQ")
public class AuditLog {
@Id
//@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AD_SEQ_NAME")
private Long id;
private String description;
private String modifiedDescription;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getModifiedDescription() {
return modifiedDescription;
}
public void setModifiedDescription(String modifiedDescription) {
this.modifiedDescription = modifiedDescription == null ? null : "_" + modifiedDescription + "_";
}
}