HHH-17460 - Ongoing JPA 32 work

This commit is contained in:
Andrea Boriero 2024-03-29 10:41:17 +01:00 committed by Steve Ebersole
parent 707c4f59d7
commit 3c177df4f5
3 changed files with 6 additions and 5 deletions

View File

@ -33,7 +33,7 @@ public class ManyToOneWithFormulaTest {
scope.inTransaction( (session) -> {
Menu menu = new Menu();
menu.setOrderNbr( "123" );
menu.setDefault( "F" );
menu.setIsDefault( "F" );
session.persist( menu );
FoodItem foodItem = new FoodItem();
foodItem.setItem( "Mouse" );

View File

@ -33,12 +33,12 @@ public class Menu implements Serializable {
this.id = id;
}
@Column(name="is_default")
public String isDefault() {
@Column(name="is_default")
public String getIsDefault() {
return isDefault;
}
public void setDefault(String isDefault) {
public void setIsDefault(String isDefault) {
this.isDefault = isDefault;
}

View File

@ -39,9 +39,10 @@ public class Person implements Serializable {
this.companyId = companyId;
}
@Column(name="is_default")
public String isDefaultFlag() {
public String getDefaultFlag() {
return defaultFlag;
}
public void setDefaultFlag(String defaultFlag) {
this.defaultFlag = defaultFlag;
}