Class JpaProperties
java.lang.Object
org.springframework.boot.jpa.autoconfigure.JpaProperties
External configuration properties for a JPA EntityManagerFactory created by Spring.
- Since:
- 4.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.orm.jpa.vendor.Database@Nullable String@Nullable BooleanbooleanbooleanvoidsetDatabase(@Nullable org.springframework.orm.jpa.vendor.Database database) voidsetDatabasePlatform(@Nullable String databasePlatform) voidsetGenerateDdl(boolean generateDdl) voidsetOpenInView(@Nullable Boolean openInView) voidsetProperties(Map<String, String> properties) voidsetShowSql(boolean showSql)
-
Constructor Details
-
JpaProperties
public JpaProperties()
-
-
Method Details
-
getProperties
-
setProperties
-
getMappingResources
-
getDatabasePlatform
-
setDatabasePlatform
-
getDatabase
public @Nullable org.springframework.orm.jpa.vendor.Database getDatabase() -
setDatabase
public void setDatabase(@Nullable org.springframework.orm.jpa.vendor.Database database) -
isGenerateDdl
public boolean isGenerateDdl() -
setGenerateDdl
public void setGenerateDdl(boolean generateDdl) -
isShowSql
public boolean isShowSql() -
setShowSql
public void setShowSql(boolean showSql) -
getOpenInView
-
setOpenInView
-