Class JpaProperties

java.lang.Object
org.springframework.boot.jpa.autoconfigure.JpaProperties

@ConfigurationProperties("spring.jpa") public class JpaProperties extends Object
External configuration properties for a JPA EntityManagerFactory created by Spring.
Since:
4.0.0
Author:
Dave Syer, Andy Wilkinson, Stephane Nicoll, EddĂș MelĂ©ndez, Madhura Bhave
  • Constructor Details

    • JpaProperties

      public JpaProperties()
  • Method Details

    • getProperties

      public Map<String,String> getProperties()
    • setProperties

      public void setProperties(Map<String,String> properties)
    • getMappingResources

      public List<String> getMappingResources()
    • getDatabasePlatform

      public @Nullable String getDatabasePlatform()
    • setDatabasePlatform

      public void setDatabasePlatform(@Nullable String databasePlatform)
    • getDatabase

      public @Nullable Database getDatabase()
    • setDatabase

      public void setDatabase(@Nullable Database database)
    • isGenerateDdl

      public boolean isGenerateDdl()
    • setGenerateDdl

      public void setGenerateDdl(boolean generateDdl)
    • isShowSql

      public boolean isShowSql()
    • setShowSql

      public void setShowSql(boolean showSql)
    • getOpenInView

      public @Nullable Boolean getOpenInView()
    • setOpenInView

      public void setOpenInView(@Nullable Boolean openInView)