Hibernate 5 version references in javadoc
Issue: SPR-11694
This commit is contained in:
parent
cf0a916793
commit
94f9a0b03a
|
|
@ -31,7 +31,7 @@ import org.springframework.transaction.jta.UserTransactionAdapter;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of Hibernate 4's JtaPlatform SPI, exposing passed-in {@link TransactionManager},
|
* Implementation of Hibernate 5's JtaPlatform SPI, exposing passed-in {@link TransactionManager},
|
||||||
* {@link UserTransaction} and {@link TransactionSynchronizationRegistry} references.
|
* {@link UserTransaction} and {@link TransactionSynchronizationRegistry} references.
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ import org.springframework.util.Assert;
|
||||||
* style of coding data access objects instead, based on
|
* style of coding data access objects instead, based on
|
||||||
* {@link SessionFactory#getCurrentSession()}.
|
* {@link SessionFactory#getCurrentSession()}.
|
||||||
* This HibernateTemplate primarily exists as a migration helper for Hibernate 3
|
* This HibernateTemplate primarily exists as a migration helper for Hibernate 3
|
||||||
* based data access code, to benefit from bug fixes in Hibernate 4.x.</b>
|
* based data access code, to benefit from bug fixes in Hibernate 5.x.</b>
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
|
|
|
||||||
|
|
@ -92,9 +92,6 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
|
||||||
* support nested transactions! Hence, do not expect Hibernate access code to
|
* support nested transactions! Hence, do not expect Hibernate access code to
|
||||||
* semantically participate in a nested transaction.</i>
|
* semantically participate in a nested transaction.</i>
|
||||||
*
|
*
|
||||||
* <p><b>NOTE: Hibernate 4.2+ is strongly recommended for efficient transaction
|
|
||||||
* management with Spring, in particular for transactional Spring JDBC access.</b>
|
|
||||||
*
|
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
* @see #setSessionFactory
|
* @see #setSessionFactory
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ public class LocalSessionFactoryBuilder extends Configuration {
|
||||||
/**
|
/**
|
||||||
* Set the Spring {@link JtaTransactionManager} or the JTA {@link TransactionManager}
|
* Set the Spring {@link JtaTransactionManager} or the JTA {@link TransactionManager}
|
||||||
* to be used with Hibernate, if any. Allows for using a Spring-managed transaction
|
* to be used with Hibernate, if any. Allows for using a Spring-managed transaction
|
||||||
* manager for Hibernate 4's session and cache synchronization, with the
|
* manager for Hibernate 5's session and cache synchronization, with the
|
||||||
* "hibernate.transaction.jta.platform" automatically set to it.
|
* "hibernate.transaction.jta.platform" automatically set to it.
|
||||||
* <p>A passed-in Spring {@link JtaTransactionManager} needs to contain a JTA
|
* <p>A passed-in Spring {@link JtaTransactionManager} needs to contain a JTA
|
||||||
* {@link TransactionManager} reference to be usable here, except for the WebSphere
|
* {@link TransactionManager} reference to be usable here, except for the WebSphere
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Package providing integration of
|
* Package providing integration of
|
||||||
* <a href="http://www.hibernate.org">Hibernate 4.x</a>
|
* <a href="http://www.hibernate.org">Hibernate 5.x</a>
|
||||||
* with Spring concepts.
|
* with Spring concepts.
|
||||||
*
|
*
|
||||||
* <p>Contains an implementation of Spring's transaction SPI for local Hibernate transactions.
|
* <p>Contains an implementation of Spring's transaction SPI for local Hibernate transactions.
|
||||||
|
|
@ -8,9 +8,9 @@
|
||||||
* in order to follow Hibernate recommendations as closely as possible. We recommend
|
* in order to follow Hibernate recommendations as closely as possible. We recommend
|
||||||
* using Hibernate's native <code>sessionFactory.getCurrentSession()</code> style.
|
* using Hibernate's native <code>sessionFactory.getCurrentSession()</code> style.
|
||||||
*
|
*
|
||||||
* <p><b>This package supports Hibernate 4.x only.</b>
|
* <p><b>This package supports Hibernate 5.x only.</b>
|
||||||
* See the {@code org.springframework.orm.hibernate3} package for Hibernate 3.x support.
|
* See the {@code org.springframework.orm.hibernate4} package for Hibernate 4.x support.
|
||||||
* <b>Note:</b> Do not use HibernateTemplate or other classes from the hibernate3 package
|
* <b>Note:</b> Do not use HibernateTemplate or other classes from the hibernate4 package
|
||||||
* with Hibernate 4; this will lead to class definition exceptions at runtime.
|
* with Hibernate 5; this will lead to class definition exceptions at runtime.
|
||||||
*/
|
*/
|
||||||
package org.springframework.orm.hibernate5;
|
package org.springframework.orm.hibernate5;
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ import org.springframework.orm.hibernate5.HibernateTemplate;
|
||||||
* style of coding data access objects instead, based on
|
* style of coding data access objects instead, based on
|
||||||
* {@link SessionFactory#getCurrentSession()}.
|
* {@link SessionFactory#getCurrentSession()}.
|
||||||
* This HibernateTemplate primarily exists as a migration helper for Hibernate 3
|
* This HibernateTemplate primarily exists as a migration helper for Hibernate 3
|
||||||
* based data access code, to benefit from bug fixes in Hibernate 4.x.</b>
|
* based data access code, to benefit from bug fixes in Hibernate 5.x.</b>
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue