public class HibernateDialect extends Object implements ORMDialect
ORMDialect.| Constructor and Description |
|---|
HibernateDialect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteStatementAliasSupported()
Get whether alias is supported in DELETE statements.
|
Optional<String> |
getBatchSizeConfigurationProperty()
Get the JPA configuration property name which corresponds to bulk operations batch size.
|
int |
getSupportedJPAMajorVersion()
Get the supported JPA major version.
|
int |
getSupportedJPAMinorVersion()
Get the supported JPA minor version.
|
void |
init(ORMDialectContext context)
Dialect initialization hook at parent datastore initialization.
|
boolean |
isTupleSupported()
Returns whether the
Tuple query result type is supported. |
com.holonplatform.core.exceptions.DataAccessException |
translateException(javax.persistence.PersistenceException exception)
Translates given
PersistenceException into a suitable DataAccessException. |
boolean |
updateStatementAliasSupported()
Get whether alias is supported in UPDATE statements.
|
boolean |
updateStatementSetAliasSupported()
Get whether alias is supported in UPDATE statement SET clause.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdatanucleus, detect, eclipselink, getLikeEscapeCharacter, getLikeEscapeJPQL, hibernate, likeEscapeSupported, openJPA, resolveFunction, temporalTypeParametersSupported, temporalTypeProjectionSupportedpublic void init(ORMDialectContext context)
ORMDialectinit in interface ORMDialectcontext - Dialect contextpublic int getSupportedJPAMajorVersion()
ORMDialectgetSupportedJPAMajorVersion in interface ORMDialectpublic int getSupportedJPAMinorVersion()
ORMDialectgetSupportedJPAMinorVersion in interface ORMDialectpublic boolean isTupleSupported()
ORMDialectTuple query result type is supported.isTupleSupported in interface ORMDialectTuple query result type is supportedpublic Optional<String> getBatchSizeConfigurationProperty()
ORMDialectgetBatchSizeConfigurationProperty in interface ORMDialectpublic boolean updateStatementAliasSupported()
ORMDialectupdateStatementAliasSupported in interface ORMDialectpublic boolean updateStatementSetAliasSupported()
ORMDialectupdateStatementSetAliasSupported in interface ORMDialectpublic boolean deleteStatementAliasSupported()
ORMDialectdeleteStatementAliasSupported in interface ORMDialectpublic com.holonplatform.core.exceptions.DataAccessException translateException(javax.persistence.PersistenceException exception)
ORMDialectPersistenceException into a suitable DataAccessException.translateException in interface ORMDialectexception - Exception to translate (not null)PersistenceExceptionCopyright © 2019 The Holon Platform. All rights reserved.