Class JpaProperties
java.lang.Object
com.broadleafcommerce.common.jpa.data.JpaProperties
Expose the Spring
JpaProperties and
HibernateProperties concepts inside of a specific data route focused property concept.
This allows for similar property structure to existing Spring documentation, but with a
Broadleaf, data route focused prefix.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.orm.jpa.vendor.Databaseorg.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesbooleanbooleanvoidsetDatabase(org.springframework.orm.jpa.vendor.Database database) voidsetDatabasePlatform(String databasePlatform) voidsetGenerateDdl(boolean generateDdl) voidsetHibernate(org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties hibernate) voidsetOpenInView(Boolean openInView) voidsetProperties(Map<String, String> properties) voidsetShowSql(boolean showSql)
-
Constructor Details
-
JpaProperties
public JpaProperties()
-
-
Method Details
-
getHibernate
public org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties getHibernate() -
setHibernate
public void setHibernate(org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties hibernate) -
getProperties
-
setProperties
-
getMappingResources
-
getDatabasePlatform
-
setDatabasePlatform
-
getDatabase
public org.springframework.orm.jpa.vendor.Database getDatabase() -
setDatabase
public void setDatabase(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
-