@Configuration @ConditionalOnClass(value={, , }) 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(LocalContainerEntityManagerFactoryBean entityManagerFactoryBean) |
protected AbstractJpaVendorAdapter |
createJpaVendorAdapter() |
void |
setEnvironment(Environment environment) |
entityManagerFactory, getDataSource, getPackagesToScan, jpaVendorAdapter, setBeanFactory, transactionManager
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
setEnvironment
in class JpaBaseConfiguration
protected AbstractJpaVendorAdapter createJpaVendorAdapter()
createJpaVendorAdapter
in class JpaBaseConfiguration
protected void configure(LocalContainerEntityManagerFactoryBean entityManagerFactoryBean)
configure
in class JpaBaseConfiguration
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.