@Configuration
@ConditionalOnClass(value={org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.class,javax.persistence.EntityManager.class})
@Conditional(value=org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.HibernateEntityManagerCondition.class)
@ConfigurationProperties(prefix="spring.jpa.hibernate")
public class HibernateJpaAutoConfigurationAfter
extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
HibernateJpaAutoConfigurationAfter() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.orm.jpa.vendor.Database |
database(org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter) |
Map<org.springframework.orm.jpa.vendor.Database,Class<? extends Dialect>> |
getDialect() |
org.springframework.orm.jpa.JpaVendorAdapter |
jpaVendorAdapter(org.springframework.boot.autoconfigure.orm.jpa.JpaProperties jpaProperties,
DataSource dataSource)
throw new IllegalStateException("Not supported database: " + database);
|
void |
setDialect(Map<org.springframework.orm.jpa.vendor.Database,Class<? extends Dialect>> dialect) |
@Bean
public org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter(org.springframework.boot.autoconfigure.orm.jpa.JpaProperties jpaProperties,
DataSource dataSource)
throw new IllegalStateException("Not supported database: " + database);
@Bean public org.springframework.orm.jpa.vendor.Database database(org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter)
public Map<org.springframework.orm.jpa.vendor.Database,Class<? extends Dialect>> getDialect()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.