3.2.2.4. Update Your Hibernate 3 Application to Use Hibernate 4

Summary

When you update your application to use Hibernate 4, some updates are general and apply regardless of version of Hibernate currently used by the application. For other updates, you must determine which version the application currently uses.

Procedure 3.14. Update the application to use Hibernate 4

  1. The default behavior of autoincrement sequence generator has changed in JBoss EAP 6. For more information, see Section 3.2.2.5, “Preserve the Existing Behavior of the Hibernate Identity Auto Generated Value”.
  2. Determine the version of Hibernate currently used by the application and choose the correct update procedure below.