Skip to content

How far along is integration of Hibernate 6 and 7 in Karaf? #2271

@ikannak

Description

@ikannak

I was suggested by @jbonofre on the mailing list to create an issue here for tracking support for Hibernate 6 and Hibernate 7.

We currently use karaf 4.4.4 and Hibernate 5.6.16. We want to update to Hibernate 6 and eventually Hibernate 7 because Hibernate 5.6 is end of life. We have already upgraded Hibernate in the Tomcat part of our product, but we are struggling to make it compatible with Karaf.

The problem is that Hibernate no longer natively supports OSGi, and attempting to wrangle more recent versions of Hibernate into an OSGi bundle is currently proving to be a struggle for our team. This effort appears to be doomed because Hibernate's reliance on ByteBuddy is incompatible with OSGi. We may need to use the integrated Hibernate feature in Karaf, but that needs to be updated first.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions