-
Task
-
Resolution: Done
-
Major
-
None
-
None
A compatibility transformer needs to be added to address Hibernate ORM 5.3 API methods that are no longer compatible with 5.1.
From https://docs.google.com/document/d/1cAVBdeQXQfpTwH0f_GKSahh_gRd7bKI6kII-wxoMglU
- Change calls to org.hibernate.BasicQueryContract.getFlushMode(), to instead call BasicQueryContract.getHibernateFlushMode().
- Change calls to org.hibernate.Session.getFlushMode, to instead call Session.getHibernateFlushMode()
- Change references to Enum org.hibernate.FlushMode.NEVER (0), to FlushMode.MANUAL (0).
- Change calls to org.hibernate.Query.getMaxResults() returning Integer, to instead call org.hibernate.Query.getHibernateMaxResults() (returning Integer).
- Change calls to org.hibernate.Query.setMaxResults(int), to instead call org.hibernate.Query.setHibernateMaxResults(int).
- Change calls to org.hibernate.Query.getFirstResult(int) returning Integer, to instead call org.hibernate.Query.getHibernateFirstResult() (returning Integer).
- Change calls to org.hibernate.Query.setFirstResult(int), to instead call org.hibernate.Query.setHibernateFirstResult(int).
- Also deal with Hibernate user defined types.
- blocks
-
JBEAP-14854 [7.2] Migration Guide: document upgrade from Hibernate ORM 5.1 to 5.3
- Closed
- is related to
-
WFWIP-75 it's not possible to enable Hibernate Bytecode Transformer using j-d-s.xml
- Closed