Skip to content

Commit

Permalink
HHH-17460 - Ongoing JPA 32 work
Browse files Browse the repository at this point in the history
  • Loading branch information
dreab8 authored and sebersole committed Mar 29, 2024
1 parent acd4039 commit ccb5b86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void testManyToOneFromNonPk(SessionFactoryScope scope) {
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" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public void setId(Integer id) {
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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ public void setCompanyId(int companyId) {
this.companyId = companyId;
}
@Column(name="is_default")
public String isDefaultFlag() {
public String getDefaultFlag() {
return defaultFlag;
}

public void setDefaultFlag(String defaultFlag) {
this.defaultFlag = defaultFlag;
}
Expand Down

0 comments on commit ccb5b86

Please sign in to comment.