@ConfigurationProperties(value="spring.jpa.hibernate") public class HibernateProperties extends Object
JpaProperties
Modifier and Type | Class and Description |
---|---|
static class |
HibernateProperties.Naming |
Constructor and Description |
---|
HibernateProperties() |
Modifier and Type | Method and Description |
---|---|
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 and
HibernateSettings . |
String |
getDdlAuto() |
HibernateProperties.Naming |
getNaming() |
Boolean |
isUseNewIdGeneratorMappings() |
void |
setDdlAuto(String ddlAuto) |
void |
setUseNewIdGeneratorMappings(Boolean useNewIdGeneratorMappings) |
public String getDdlAuto()
public void setDdlAuto(String ddlAuto)
public Boolean isUseNewIdGeneratorMappings()
public void setUseNewIdGeneratorMappings(Boolean useNewIdGeneratorMappings)
public HibernateProperties.Naming getNaming()
public Map<String,Object> determineHibernateProperties(Map<String,String> jpaProperties, HibernateSettings settings)
HibernateSettings
.jpaProperties
- standard JPA propertiessettings
- the settings to apply when determining the configuration propertiesCopyright © 2019 Pivotal Software, Inc.. All rights reserved.