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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the array support object that describes how array-typed columns should be handled by this dialect.Returns thehandling of table- and column names (identifiers)used for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.Returns theIdGenerationused for generating identifiers.limit()Return theLimitClauseused by this dialect.lock()Return theLockClauseused by this dialect.booleanReturn whether the dialect supports single query loading.Methods 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, getName, getUpsertRenderContext, 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
-
lock
Description copied from interface:DialectReturn theLockClauseused by this dialect.- Returns:
- the
LockClauseused by this dialect.
-
limit
Description copied from interface:DialectReturn theLimitClauseused by this dialect.- Returns:
- the
LimitClauseused by this dialect.
-
getArraySupport
Description copied from interface:DialectReturns the array support object that describes how array-typed columns should be handled by this dialect.- Returns:
- the array support object that describes how array-typed columns should be handled by this dialect.
-
getIdentifierProcessing
Description copied from interface:DialectReturns thehandling of table- and column names (identifiers)used for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing. Guaranteed to be not null.
-
supportsSingleQueryLoading
public boolean supportsSingleQueryLoading()Description copied from interface:DialectReturn whether the dialect supports single query loading.- Returns:
- true if the dialect supports single query loading; false otherwise.
-
getIdGeneration
Description copied from interface:DialectReturns theIdGenerationused for generating identifiers.- Returns:
- the
IdGenerationused for generating identifiers.
-
org.springframework.data.r2dbc.dialect.H2Dialectororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect.