open class EclipseLinkJpaVendorAdapter : AbstractJpaVendorAdapter
org.springframework.orm.jpa.JpaVendorAdapter implementation for Eclipse Persistence Services (EclipseLink). Developed and tested against EclipseLink 2.4. Exposes EclipseLink's persistence provider and EntityManager extension interface, and adapts AbstractJpaVendorAdapter's common configuration settings. No support for the detection of annotated packages (through |
|
open class HibernateJpaDialect : DefaultJpaDialect
org.springframework.orm.jpa.JpaDialect implementation for Hibernate EntityManager. Developed against Hibernate 5.0/5.1/5.2. |
|
open class HibernateJpaSessionFactoryBean : EntityManagerFactoryAccessor, FactoryBean<SessionFactory>
Simple Primarily available for resolving a SessionFactory by JPA persistence unit name via the Note that, for straightforward cases, you could also simply declare a factory method:
And as of JPA 2.1, Please note: Since Hibernate 5.2 changed its SessionFactory interface to extend JPA's EntityManagerFactory , you may get conflicts when injecting by type, with both the original factory and your custom SessionFactory matching EntityManagerFactory . An explicit qualifier for the original factory (as indicated above) is recommended here.
|
|
open class HibernateJpaVendorAdapter : AbstractJpaVendorAdapter
org.springframework.orm.jpa.JpaVendorAdapter implementation for Hibernate EntityManager. Developed and tested against Hibernate 5.0, 5.1 and 5.2; backwards-compatible with Hibernate 4.3 at runtime on a best-effort basis. Exposes Hibernate's persistence provider and EntityManager extension interface, and adapts AbstractJpaVendorAdapter's common configuration settings. Also supports the detection of annotated packages (through |