FIX: Oto relations must match datatype (#1161)

This commit is contained in:
Roland Praml
2017-10-06 09:44:06 +13:00
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;
}