Replies: 9 comments 15 replies
-
@gsartori Do you know of a work around for the following? Spring Boot 3.x switched to the jakarta.persistence package namespace of JakartaEE 9+, which is supported in Hibernate 6. Spring Boot 2.x uses the javax.persistence package namespace of JakartaEE 8 and earlier (JPA 2.2 and earlier) used in Hibernate 5.X. |
Beta Was this translation helpful? Give feedback.
-
Is Hibernate 6 a blocker to work on the next release of Grails? |
Beta Was this translation helpful? Give feedback.
-
Does anybody know if updating GORM 8 to Groovy 4 and Java 17/21 would be possible staying with Hibernate 5 without adopting Hibernate 6? |
Beta Was this translation helpful? Give feedback.
-
Hibernate started to support JPA 3.0 in version 5.5. All Hibernate artifacts that support the new JPA 3.0 APIs have the suffix “-jakarta” in their name.
https://in.relation.to/2021/06/04/hibernate-is-jakarta-jpa-2/ https://in.relation.to/2021/06/02/hibernate-orm-550-final-release/ |
Beta Was this translation helpful? Give feedback.
-
5.6.15 I think should be the initial version of hibernate to chase. Its the latest and we are using it fine with GORM 7 and 8 ( v8 as far as I know) |
Beta Was this translation helpful? Give feedback.
-
I think this really undersells the deep and fundamental advantages that 6/7 offer over 5. Hibernate 6 involved a huge amount of careful rethinking and re-engineering. There's almost no subsystem of the whole sprawling codebase which isn't now more robust and more powerful. The reimplementation of HQL is alone enough reason to upgrade. |
Beta Was this translation helpful? Give feedback.
-
The latest conversations have been for development to begin around org.hibernate:hibernate-core-jakarta:5.6.15.Final and see how well it will play with Spring Framework 6.1.11 and Spring Boot 3.3.1 within GORM for Grails 7. Whatever functions and is the simplest path is likely what will ship in with Grails 7. |
Beta Was this translation helpful? Give feedback.
-
I created a task and added to the project board. |
Beta Was this translation helpful? Give feedback.
-
I think Hibernate 6 should be skipped completely and and the next Hibernate upgrade target should be Hibernate 7.0. I imagine by the time the upgrade is done, 7 will be released. The update can be done independently of grails-core. |
Beta Was this translation helpful? Give feedback.
-
Hibernate 6 improves performances so it’s worth to consider moving ahead and supporting it. At the moment though we should consider the priority on security issues.
Databases are consolidated technologies, having the latest ORM is something that could wait.
Having the latest web framework cannot.
Beta Was this translation helpful? Give feedback.
All reactions