HHH-17460 - Ongoing JPA 32 work
This commit is contained in:
parent
707c4f59d7
commit
3c177df4f5
|
@ -33,7 +33,7 @@ public class ManyToOneWithFormulaTest {
|
||||||
scope.inTransaction( (session) -> {
|
scope.inTransaction( (session) -> {
|
||||||
Menu menu = new Menu();
|
Menu menu = new Menu();
|
||||||
menu.setOrderNbr( "123" );
|
menu.setOrderNbr( "123" );
|
||||||
menu.setDefault( "F" );
|
menu.setIsDefault( "F" );
|
||||||
session.persist( menu );
|
session.persist( menu );
|
||||||
FoodItem foodItem = new FoodItem();
|
FoodItem foodItem = new FoodItem();
|
||||||
foodItem.setItem( "Mouse" );
|
foodItem.setItem( "Mouse" );
|
||||||
|
|
|
@ -34,11 +34,11 @@ public class Menu implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name="is_default")
|
@Column(name="is_default")
|
||||||
public String isDefault() {
|
public String getIsDefault() {
|
||||||
return isDefault;
|
return isDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDefault(String isDefault) {
|
public void setIsDefault(String isDefault) {
|
||||||
this.isDefault = isDefault;
|
this.isDefault = isDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,9 +39,10 @@ public class Person implements Serializable {
|
||||||
this.companyId = companyId;
|
this.companyId = companyId;
|
||||||
}
|
}
|
||||||
@Column(name="is_default")
|
@Column(name="is_default")
|
||||||
public String isDefaultFlag() {
|
public String getDefaultFlag() {
|
||||||
return defaultFlag;
|
return defaultFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDefaultFlag(String defaultFlag) {
|
public void setDefaultFlag(String defaultFlag) {
|
||||||
this.defaultFlag = defaultFlag;
|
this.defaultFlag = defaultFlag;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue