Hi all,

I’ve been looking into the current state of tapestry-hibernate and tapestry-hibernate-core, which currently target Hibernate 5.4.32. Given that Hibernate 5 is now quite old, I wanted to raise the question of whether there has been any recent discussion or ongoing work around supporting Hibernate 6 or 7.

After reviewing the modules, they appear to be relatively lightweight integration layers focused mainly on:

  * SessionFactory/bootstrap integration
  * request/session lifecycle management
  * transaction handling (@CommitAfter, etc.)
  * IOC wiring and entity scanning

At first glance, this does not appear to require a complete rewrite, although the Hibernate 5 to 6 transition is obviously substantial due to:

  * Jakarta migration (javax.persistence → jakarta.persistence)
  * bootstrap/API changes
  * transaction/session SPI changes
  * removal/refactoring of some Hibernate internals

My assumption is that most of the real work would likely be:

  1. achieving Hibernate 6 compatibility first
  2. stabilizing lifecycle/transaction behavior
  3. then moving on to Hibernate 7

Since Tapestry itself has already undergone the recent javax to jakarta migration, I’m curious whether anyone has already:

  * experimented with upgrading the Hibernate modules
  * created a branch or proof-of-concept
  * investigated compatibility blockers
  * or discussed a roadmap for this work

If not, I’d also be interested in hearing whether the community sees value in modernizing the Hibernate integration versus potentially steering users toward thinner JPA-only integration approaches.

Kind regards,

Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to