Skip to content

Commit

Permalink
session.save has been deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Oct 22, 2024
1 parent 2c8e2fd commit d3c2db7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jakartaActivation = { module = 'com.sun.activation:jakarta.activation', version.
hibernate = { module = 'org.hibernate:hibernate-core', version.ref='hibernate' }
hibernateToolsOrm = { module='org.hibernate.tool:hibernate-tools-orm', version.ref='hibernate' }
hibernateToolsUtils = { module='org.hibernate.tool:hibernate-tools-utils', version.ref='hibernate' }
hibernateAgroal = { module='org.hibernate:hibernate-agroal', version.ref='hibernate' }
dom4j = { module = 'org.dom4j:dom4j', version.ref='dom4j' }
jdbcPostgresql = { module = 'org.postgresql:postgresql', version.ref='jdbcPostgresql' }
jdbcMysql = { module = 'mysql:mysql-connector-java', version.ref='jdbcMysql' }
Expand Down
2 changes: 1 addition & 1 deletion modules/dbsupport/src/main/java/org/jpos/ee/DB.java
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public Session session()
*/
public void save(Object obj) throws HibernateException
{
session.save(obj);
session.persist(obj);
}

/**
Expand Down

0 comments on commit d3c2db7

Please sign in to comment.