Class H2Dialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.PostgresDialect
org.springframework.data.r2dbc.dialect.PostgresDialect
org.springframework.data.r2dbc.dialect.H2Dialect
- All Implemented Interfaces:
R2dbcDialect,Dialect
An SQL dialect for H2 in Postgres Compatibility mode.
- Author:
- Mark Paluch, Jens Schauder, Diego Krupitza
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.relational.core.dialect.PostgresDialect
PostgresDialect.PostgresArrayColumns -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlock()Return theLockClauseused by this dialect.renderForGeneratedValues(SqlIdentifier identifier) Render aSqlIdentifierin a way suitable for registering it as a generated key with a statement throughStatement#returnGeneratedValues.Methods inherited from class org.springframework.data.r2dbc.dialect.PostgresDialect
getArraySupport, getBindMarkersFactory, getConverters, getSimpleTypesMethods inherited from class org.springframework.data.relational.core.dialect.PostgresDialect
getIdentifierProcessing, limit, simpleTypesMethods inherited from class org.springframework.data.relational.core.dialect.AbstractDialect
getAfterFromTable, getAfterOrderBy, getSelectContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.relational.core.dialect.Dialect
getIdentifierProcessing, getIdGeneration, getInsertRenderContext, getLikeEscaper, getSelectContext, limit, orderByNullHandling, simpleTypesMethods inherited from interface org.springframework.data.r2dbc.dialect.R2dbcDialect
getSimpleTypeHolder
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
H2Dialect
public H2Dialect()
-
-
Method Details
-
renderForGeneratedValues
Description copied from interface:R2dbcDialectRender aSqlIdentifierin a way suitable for registering it as a generated key with a statement throughStatement#returnGeneratedValues. The default implementation renders it as it would render a SQL representation of the identifier, i.e. with quotes where applicable.- Parameters:
identifier- to render. Must not be null.- Returns:
- rendered identifier. Guaranteed to be not null.
-
lock
Description copied from interface:DialectReturn theLockClauseused by this dialect.- Specified by:
lockin interfaceDialect- Overrides:
lockin classPostgresDialect- Returns:
- the
LockClauseused by this dialect.
-