Class H2Dialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.H2Dialect
org.springframework.data.r2dbc.dialect.H2Dialect
- All Implemented Interfaces:
R2dbcDialect
,org.springframework.data.relational.core.dialect.Dialect
public class H2Dialect
extends org.springframework.data.relational.core.dialect.H2Dialect
implements R2dbcDialect
R2DBC dialect for H2.
- Author:
- Mark Paluch, Jens Schauder, Diego Krupitza, Kurt Niemi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.relational.core.dialect.ArrayColumns
Returns theBindMarkersFactory
used by this dialect.renderForGeneratedValues
(org.springframework.data.relational.core.sql.SqlIdentifier identifier) Render aSqlIdentifier
in a way suitable for registering it as a generated key with a statement throughStatement#returnGeneratedValues
.Methods inherited from class org.springframework.data.relational.core.dialect.H2Dialect
getIdentifierProcessing, limit, lock, simpleTypes, supportsSingleQueryLoading
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
getExistsFunction, getIdentifierProcessing, getIdGeneration, getInsertRenderContext, getLikeEscaper, getSelectContext, limit, lock, orderByNullHandling, simpleTypes, supportsSingleQueryLoading
Methods inherited from interface org.springframework.data.r2dbc.dialect.R2dbcDialect
getConverters, getSimpleTypeHolder, getSimpleTypes
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
H2Dialect
public H2Dialect()
-
-
Method Details
-
getBindMarkersFactory
Description copied from interface:R2dbcDialect
Returns theBindMarkersFactory
used by this dialect.- Specified by:
getBindMarkersFactory
in interfaceR2dbcDialect
- Returns:
- the
BindMarkersFactory
used by this dialect.
-
renderForGeneratedValues
public String renderForGeneratedValues(org.springframework.data.relational.core.sql.SqlIdentifier identifier) Description copied from interface:R2dbcDialect
Render aSqlIdentifier
in 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.- Specified by:
renderForGeneratedValues
in interfaceR2dbcDialect
- Parameters:
identifier
- to render. Must not be null.- Returns:
- rendered identifier. Guaranteed to be not null.
-
getArraySupport
public org.springframework.data.relational.core.dialect.ArrayColumns getArraySupport()- Specified by:
getArraySupport
in interfaceorg.springframework.data.relational.core.dialect.Dialect
- Overrides:
getArraySupport
in classorg.springframework.data.relational.core.dialect.H2Dialect
-