mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Consistent references to Hibernate ORM 7.x
This commit is contained in:
+2
-1
@@ -62,7 +62,7 @@ import org.springframework.core.type.filter.TypeFilter;
|
||||
* way to set up a shared Hibernate SessionFactory in a Spring application context; the
|
||||
* SessionFactory can then be passed to data access objects via dependency injection.
|
||||
*
|
||||
* <p>Compatible with Hibernate ORM 7.1, as of Spring Framework 7.0.
|
||||
* <p>Compatible with Hibernate ORM 7.x, as of Spring Framework 7.0.
|
||||
* This Hibernate-specific {@code LocalSessionFactoryBean} can be an immediate alternative
|
||||
* to {@link org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean} for
|
||||
* common JPA purposes: The Hibernate {@code SessionFactory} will natively expose the JPA
|
||||
@@ -78,6 +78,7 @@ import org.springframework.core.type.filter.TypeFilter;
|
||||
* @see HibernateTransactionManager
|
||||
* @see LocalSessionFactoryBuilder
|
||||
* @see org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
|
||||
* @see org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
|
||||
*/
|
||||
public class LocalSessionFactoryBean extends HibernateExceptionTranslator
|
||||
implements SmartFactoryBean<SessionFactory>, ResourceLoaderAware, BeanFactoryAware,
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ import org.springframework.util.ClassUtils;
|
||||
* Typically combined with {@link HibernateTransactionManager} for declarative
|
||||
* transactions against the {@code SessionFactory} and its JDBC {@code DataSource}.
|
||||
*
|
||||
* <p>Compatible with Hibernate ORM 7.1, as of Spring Framework 7.0.
|
||||
* <p>Compatible with Hibernate ORM 7.x, as of Spring Framework 7.0.
|
||||
* This Hibernate-specific factory builder can also be a convenient way to set up
|
||||
* a JPA {@code EntityManagerFactory} since the Hibernate {@code SessionFactory}
|
||||
* natively exposes the JPA {@code EntityManagerFactory} interface as well now.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* but potentially also for JPA repositories or mixed use of native Hibernate and JPA.
|
||||
*
|
||||
* <p>As of Spring Framework 7.0, this package supersedes {@code orm.hibernate5} -
|
||||
* now for use with Hibernate ORM 7.1+, tightly integrated with JPA.
|
||||
* now for use with Hibernate ORM 7.x, tightly integrated with JPA.
|
||||
*/
|
||||
@NullMarked
|
||||
package org.springframework.orm.jpa.hibernate;
|
||||
|
||||
Reference in New Issue
Block a user