mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: Oto relations must match datatype (#1161)
This commit is contained in:
committed by
Rob Bygrave
parent
b2438ecd71
commit
e4eca4bbe9
@@ -11,7 +11,7 @@ public class OtoBChild {
|
||||
|
||||
@Id
|
||||
@Column(name = "master_id")
|
||||
Integer id;
|
||||
Long id;
|
||||
|
||||
String child;
|
||||
|
||||
@@ -19,11 +19,11 @@ public class OtoBChild {
|
||||
@PrimaryKeyJoinColumn(name = "master_id", referencedColumnName = "id")
|
||||
OtoBMaster master;
|
||||
|
||||
public Integer getId() {
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user