Skip navigation links
Spring Framework

Package org.springframework.orm.hibernate5

Package providing integration of Hibernate 5.x with Spring concepts.

See: Description

Package org.springframework.orm.hibernate5 Description

Package providing integration of Hibernate 5.x with Spring concepts.

Contains an implementation of Spring's transaction SPI for local Hibernate transactions. This package is intentionally rather minimal, with no template classes or the like, in order to follow Hibernate recommendations as closely as possible. We recommend using Hibernate's native sessionFactory.getCurrentSession() style.

This package supports Hibernate 5.x only. See the org.springframework.orm.hibernate4 package for Hibernate 4.x support. Note: Do not use HibernateTemplate or other classes from the hibernate4 package with Hibernate 5; this will lead to class definition exceptions at runtime.

Skip navigation links
Spring Framework