@Configuration @ConditionalOnClass(value={org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.class,org.springframework.transaction.annotation.EnableTransactionManagement.class,javax.persistence.EntityManager.class}) public class HibernateJpaAutoConfiguration extends JpaBaseConfiguration
Auto-configuration
for Hibernate JPA.JpaBaseConfiguration.JpaWebConfiguration
Constructor and Description |
---|
HibernateJpaAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected AbstractJpaVendorAdapter |
createJpaVendorAdapter() |
protected void |
customizeVendorProperties(Map<String,Object> vendorProperties)
Customize vendor properties before they are used.
|
protected Map<String,Object> |
getVendorProperties() |
entityManagerFactory, entityManagerFactoryBuilder, getJtaTransactionManager, getPackagesToScan, getVendorCallback, isJta, jpaVendorAdapter, setBeanFactory, transactionManager
protected AbstractJpaVendorAdapter createJpaVendorAdapter()
createJpaVendorAdapter
in class JpaBaseConfiguration
protected Map<String,Object> getVendorProperties()
getVendorProperties
in class JpaBaseConfiguration
protected void customizeVendorProperties(Map<String,Object> vendorProperties)
JpaBaseConfiguration
customizeVendorProperties
in class JpaBaseConfiguration
vendorProperties
- the vendor properties to customizeCopyright © 2015 Pivotal Software, Inc.. All rights reserved.