mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
* Add test suite from rpraml * FIX: Splitcolumns must return an empty array if string was empty * Just the reference scripts
45 lines
672 B
Java
45 lines
672 B
Java
package misc.migration.v1_2;
|
|
|
|
import javax.persistence.EmbeddedId;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Table;
|
|
import javax.persistence.Version;
|
|
|
|
@Entity
|
|
@Table(name = "migtest_ckey_parent")
|
|
public class CKeyParent {
|
|
|
|
@EmbeddedId
|
|
CKeyParentId id;
|
|
|
|
String name;
|
|
|
|
@Version
|
|
int version;
|
|
|
|
public CKeyParentId getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(CKeyParentId id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public int getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(int version) {
|
|
this.version = version;
|
|
}
|
|
|
|
}
|