Class H2Dialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.H2Dialect
- All Implemented Interfaces:
Dialect
An SQL dialect for H2.
- Since:
- 2.0
- Author:
- Mark Paluch, Myeonghyeon Lee, Christph Strobl, Jens Schauder, Mikhail Polivakha
-
Nested Class Summary
Nested Classes -
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 theIdentifierProcessingused for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.limit()Return theLimitClauseused by this dialect.lock()Return theLockClauseused by this dialect.booleanMethods inherited from class AbstractDialect
getAfterFromTable, getAfterOrderBy, getSelectContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dialect
getConverters, getExistsFunction, getInsertRenderContext, getLikeEscaper, orderByNullHandling, simpleTypes
-
Field Details
-
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.use either theorg.springframework.data.r2dbc.dialect.H2Dialectororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect.Singleton instance.
-
-
Constructor Details
-
H2Dialect
protected H2Dialect()
-
-
Method Details
-
limit
Description copied from interface:DialectReturn theLimitClauseused by this dialect.- Returns:
- the
LimitClauseused by this dialect.
-
lock
Description copied from interface:DialectReturn theLockClauseused by this dialect.- Returns:
- the
LockClauseused by this dialect.
-
getArraySupport
Description copied from interface:DialectReturns 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:DialectReturns theIdentifierProcessingused for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing. Guaranteed to be not null.
-
supportsSingleQueryLoading
public boolean supportsSingleQueryLoading() -
getIdGeneration
-
org.springframework.data.r2dbc.dialect.H2Dialectororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect.