Class H2Dialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.H2Dialect
- All Implemented Interfaces:
Dialect
- Direct Known Subclasses:
H2Dialect
An SQL dialect for H2.
- Since:
- 2.0
- Author:
- Mark Paluch, Myeonghyeon Lee, Christph Strobl, Jens Schauder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the array support object that describes how array-typed columns are supported by this dialect.Returns theIdentifierProcessing
used for processingSqlIdentifier
when converting them to SQL snippets or parameter names.limit()
Return theLimitClause
used by this dialect.lock()
Return theLockClause
used by this dialect.Return theSet
of types considered store native types that can be handeled by the driver.Methods inherited from class org.springframework.data.relational.core.dialect.AbstractDialect
getAfterFromTable, getAfterOrderBy, getSelectContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.relational.core.dialect.Dialect
getConverters, getExistsFunction, getIdGeneration, getInsertRenderContext, getLikeEscaper, orderByNullHandling
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
H2Dialect
protected H2Dialect()
-
-
Method Details
-
limit
Description copied from interface:Dialect
Return theLimitClause
used by this dialect.- Returns:
- the
LimitClause
used by this dialect.
-
lock
Description copied from interface:Dialect
Return theLockClause
used by this dialect.- Returns:
- the
LockClause
used by this dialect.
-
getArraySupport
Description copied from interface:Dialect
Returns the array support object that describes how array-typed columns are supported by this dialect.- Returns:
- the array support object that describes how array-typed columns are supported by this dialect.
-
getIdentifierProcessing
Description copied from interface:Dialect
Returns theIdentifierProcessing
used for processingSqlIdentifier
when converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing
. Guaranteed to be not null.
-
simpleTypes
Description copied from interface:Dialect
Return theSet
of types considered store native types that can be handeled by the driver.- Returns:
- never null.
-