@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 void |
configure(org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean entityManagerFactoryBean) |
protected org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter |
createJpaVendorAdapter() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
entityManagerFactory, getDataSource, getPackagesToScan, jpaVendorAdapter, setBeanFactory, transactionManagerpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwaresetEnvironment in class JpaBaseConfigurationprotected org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter createJpaVendorAdapter()
createJpaVendorAdapter in class JpaBaseConfigurationprotected void configure(org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean entityManagerFactoryBean)
configure in class JpaBaseConfigurationCopyright © 2014 Pivotal Software, Inc.. All rights reserved.