Hibernate update from version 3.0 to 3.6

I am working on a project that uses Hibernate 3.0(released in 2005), although the project itself is only 4 months old. By trick, we have already written millions of lines of code. We realized that we were using it Hibernate 3.0only yesterday, and now it is very difficult for us to switch to the latest stable version 3.6.6.

So I want to know:

  • Will there be many changes in the way hbm files are displayed? (and properties file)
  • Most likely, we will be able to achieve significant performance improvements (we are currently experiencing some performance issues due to poorly formed Hibernate queries).
  • Will there be many changes in the way HQL is written? (we use HQL heavily)

Appreciate your help.

+5
source share
1 answer

I think you should read Hibernate3 Migration Guides from 3.0 step by step to 3.6 Sleep mode

And here's a quick hibernate changelog search for improvements and performance paths from 3.0 to 3.6

  • [HHH-5823] - Poor multi-threaded performance in the UpdateTimestampsCache class
  • [HHH-5824] - Poor multi-threaded performance in the SessionFactoryImpl.getQueryCache method.
  • [HHH-3860] - Cascading performance issues when a session contains many objects
  • [HHH-3357] - improves session.clear () performance
  • [HHH-2553] - New implementation of LoadContexts, resulting in poor performance.
  • [HHH-2957] - ActionQueue Sort insert worsens exponentially (Jay Erb)
  • [HHH-2553] - New implementation of LoadContexts, resulting in poor performance.
  • [HHH-2229] - HHH-1293, CGLIBLazyInitializer Java
  • [HHH-2023] - JTATransactionFactory.isTransactionInProgress()
  • [HHH-864] - QUERY_CACHE .
  • [HHH-525] - cglib

Hibernate JIRA details.Good luck

+3

All Articles