Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbussolotto committed Dec 19, 2024
1 parent f3cd90b commit 3dcb00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/code/src/com/redhat/rhn/testing/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public static <T> T reload(T obj) throws HibernateException {
*/
public static void saveAndFlush(Object obj) throws HibernateException {
Session session = HibernateFactory.getSession();
session.save(obj);
session.saveOrUpdate(obj);
session.flush();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public Long getComputationId() {
}

@Column(name = "dimension")
@Type(type = "com.suse.cloud.domain.BillingDimensionEnumType")
@Type(type = "yes_no")
public BillingDimension getDimension() {
return dimension;
}
Expand Down

0 comments on commit 3dcb00d

Please sign in to comment.