Class HibernateProperties

java.lang.Object
org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties

@ConfigurationProperties("spring.jpa.hibernate") public class HibernateProperties extends Object
Configuration properties for Hibernate.
Since:
2.1.0
Author:
Stephane Nicoll, Chris Bono
See Also:
  • Constructor Details

    • HibernateProperties

      public HibernateProperties()
  • Method Details

    • getDdlAuto

      public String getDdlAuto()
    • setDdlAuto

      public void setDdlAuto(String ddlAuto)
    • isUseNewIdGeneratorMappings

      public Boolean isUseNewIdGeneratorMappings()
    • setUseNewIdGeneratorMappings

      public void setUseNewIdGeneratorMappings(Boolean useNewIdGeneratorMappings)
    • getNaming

      public HibernateProperties.Naming 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 and HibernateSettings.
      Parameters:
      jpaProperties - standard JPA properties
      settings - the settings to apply when determining the configuration properties
      Returns:
      the Hibernate properties to use