Class HibernateProperties
java.lang.Object
org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties
Configuration properties for Hibernate.
- Since:
- 2.1.0
- Author:
- Stephane Nicoll, Chris Bono
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondetermineHibernateProperties
(Map<String, String> jpaProperties, HibernateSettings settings) Determine the configuration properties for the initialization of the main Hibernate EntityManagerFactory based on standard JPA properties andHibernateSettings
.void
setDdlAuto
(String ddlAuto)
-
Constructor Details
-
HibernateProperties
public HibernateProperties()
-
-
Method Details
-
getDdlAuto
-
setDdlAuto
-
getNaming
-
determineHibernateProperties
public Map<String,Object> determineHibernateProperties(Map<String, String> jpaProperties, HibernateSettings settings) Determine the configuration properties for the initialization of the main Hibernate EntityManagerFactory based on standard JPA properties andHibernateSettings
.- Parameters:
jpaProperties
- standard JPA propertiessettings
- the settings to apply when determining the configuration properties- Returns:
- the Hibernate properties to use
-