类 HibernateProperties

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

@ConfigurationProperties("spring.jpa.hibernate") public class HibernateProperties extends Object
Configuration properties for Hibernate.
从以下版本开始:
2.1.0
作者:
Stephane Nicoll, Chris Bono
另请参阅:
  • 构造器详细资料

    • HibernateProperties

      public HibernateProperties()
  • 方法详细资料

    • getDdlAuto

      public String getDdlAuto()
    • setDdlAuto

      public void setDdlAuto(String ddlAuto)
    • 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.
      参数:
      jpaProperties - standard JPA properties
      settings - the settings to apply when determining the configuration properties
      返回:
      the Hibernate properties to use