Package bg.codexio.springframework.boot
Class DialectAutoConfiguration
java.lang.Object
bg.codexio.springframework.boot.DialectAutoConfiguration
@Configuration
@AutoConfigureBefore(org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.class)
public class DialectAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizerorg.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer
-
Constructor Details
-
DialectAutoConfiguration
public DialectAutoConfiguration()
-
-
Method Details
-
mysqlHibernatePropertiesCustomizer
@Bean @ConditionalOnProperty(name="app.use-mysql", havingValue="true") public org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer mysqlHibernatePropertiesCustomizer() -
postgresqlHibernatePropertiesCustomizer
@Bean @ConditionalOnProperty(name="app.use-mysql", havingValue="false", matchIfMissing=true) public org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer postgresqlHibernatePropertiesCustomizer()
-