Class DialectHelper
java.lang.Object
org.broadleafcommerce.common.util.DialectHelper
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.dialect.Dialectorg.hibernate.dialect.DialectgetHibernateDialect(jakarta.persistence.EntityManager em) booleanisMySql()booleanisMySql(jakarta.persistence.EntityManager em) booleanisOracle()booleanisOracle(jakarta.persistence.EntityManager em) booleanbooleanisPostgreSql(jakarta.persistence.EntityManager em) booleanbooleanisSqlServer(jakarta.persistence.EntityManager em)
-
Field Details
-
defaultEntityManager
protected jakarta.persistence.EntityManager defaultEntityManager
-
-
Constructor Details
-
DialectHelper
public DialectHelper()
-
-
Method Details
-
getHibernateDialect
public org.hibernate.dialect.Dialect getHibernateDialect() -
getHibernateDialect
public org.hibernate.dialect.Dialect getHibernateDialect(jakarta.persistence.EntityManager em) -
isOracle
public boolean isOracle() -
isOracle
public boolean isOracle(jakarta.persistence.EntityManager em) -
isPostgreSql
public boolean isPostgreSql() -
isPostgreSql
public boolean isPostgreSql(jakarta.persistence.EntityManager em) -
isSqlServer
public boolean isSqlServer() -
isSqlServer
public boolean isSqlServer(jakarta.persistence.EntityManager em) -
isMySql
public boolean isMySql() -
isMySql
public boolean isMySql(jakarta.persistence.EntityManager em)
-