| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private static final ViolatedConstraintNameExtractor | |
| private static final DatabaseVersion | |
| private final H2Dialect. | |
| private final String | |
| private final SequenceInformationExtractor | |
| private final UniqueDelegate | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendBooleanValueString(SqlAppender
The appender, boolean SqlAppender to append the literal expression toThe boolean value bool)Overrides org. SqlAppender.
|
| public void | appendDatetimeFormat(SqlAppender appender, String format)
Overrides org. java. to
whatever pattern language is understood by the
native datetime formatting function for this
database (often the to_char() function).
|
| public void | appendDateTimeLiteral(SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. java.
value to the given SqlAppender.
|
| public void | appendDateTimeLiteral(SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. Date
value to the given SqlAppender.
|
| public void | appendDateTimeLiteral(SqlAppender appender, Calendar calendar, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. Calendar
value to the given SqlAppender.
|
| public void | augmentPhysicalTableTypes(List<String> tableTypesList)
Overrides org. |
| public SQLExceptionConversionDelegate | buildSQLExceptionConversionDelegate()
Overrides org. SQLExceptionConversionDelegate for interpreting
dialect-specific error or
SQLState codes.
|
| public boolean | canDisableConstraints()
Overrides org. |
| protected String | castType(int
The JDBC type code representing the target type sqlTypeCode)Overrides org. cast( ...
|
| protected String | columnType(int
a SQL sqlTypeCode)type codeOverrides org. Types or SqlTypes.
|
| public void | contributeTypes(TypeContributions
Callback to contribute the types typeContributions, ServiceRegistry The service registry serviceRegistry)Overrides org. Dialect to contribute types.
|
| public MutationOperation | createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory)
Overrides org.
Deprecated
as a consequence of
Create a SessionFactoryImplementor being deprecated.
MutationOperation for a updating an optional table
|
| public String | currentTime()
Overrides org. current_time function, which
maps to the Java type java. which is a time with
no time zone.
|
| public String | currentTimestamp()
Overrides org. current_timestamp function,
which maps to the Java type java. which is
a datetime with no time zone.
|
| public String | currentTimestampWithTimeZone()
Overrides org. offset_datetime function, which maps
to the Java type java. which is a datetime
with a time zone.
|
| public boolean | doesReadCommittedCauseWritersToBlockReaders()
Overrides org. READ_COMMITTED isolation
implemented by forcing readers to wait for write locks to be released?
|
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public String | extractPattern(TemporalUnit
the first argument unit)Overrides org. TemporalUnit#SECOND.
|
| public String | generatedAs(String
a SQL expression used to generate the column value generatedAs)Overrides org. generated as clause, or similar, for generated column
declarations in DDL statements.
|
| public String | getAlterColumnTypeString(String
the name of the column columnName, String the new type of the column columnType, String the full column definition columnDefinition)Overrides org. alter table command which modifies a
column type, or null if column types cannot be modified.
|
| public String | getCascadeConstraintsString()
Overrides org. drop table operation
should be cascaded to its constraints, typically
" cascade" where the leading space is required, or
the empty string if there is no such keyword in this dialect.
|
| public String | getCaseInsensitiveLike()
Overrides org. LIKE
comparisons.
|
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public boolean | getDefaultNonContextualLobCreation()
Overrides org. |
| public int | getDefaultStatementBatchSize()
Overrides org. |
| public String | getDisableConstraintsStatement()
Overrides org. |
| public String | getEnableConstraintsStatement()
Overrides org. |
| public SqmMultiTableInsertStrategy | getFallbackSqmInsertStrategy(EntityMappingType entityDescriptor, RuntimeModelCreationContext runtimeModelCreationContext)
Overrides org.
Deprecated
as a consequence of
The RuntimeModelCreationContext being deprecated.
SqmMultiTableInsertStrategy to use when not specified by
org..
|
| public SqmMultiTableMutationStrategy | getFallbackSqmMutationStrategy(EntityMappingType entityDescriptor, RuntimeModelCreationContext runtimeModelCreationContext)
Overrides org.
Deprecated
as a consequence of
The RuntimeModelCreationContext being deprecated.
SqmMultiTableMutationStrategy to use when not specified by
org..
|
| public FunctionalDependencyAnalysisSupport | getFunctionalDependencyAnalysisSupport()
Overrides org. GROUP BY and ORDER BY clauses.
|
| public SelectItemReferenceStrategy | getGroupBySelectItemReferenceStrategy()
Overrides org. group by clause.
|
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport for this dialect.
|
| public LimitHandler | getLimitHandler()
Overrides org. LimitHandler that implements pagination support for
Query#setMaxResults(int) and Query#setFirstResult(int).
|
| protected int | getMaximumArraySize()
H2 requires a very special emulation, because |
| public int | getMaxVarcharLength()
Overrides org. java.-like type.
|
| protected DatabaseVersion | getMinimumSupportedVersion()
Overrides org. |
| public ParameterMarkerStrategy | getNativeParameterMarkerStrategy()
Overrides org. |
| public NullOrdering | getNullOrdering()
Returns the default ordering of null.
|
| public String | getQueryHintString(String
The query to which to apply the hint. query, String The hints to apply hints)
Apply a hint to the given SQL query.
|
| public String | getQuerySequencesString()
Overrides org. select command used retrieve the names of all sequences.
|
| public SequenceInformationExtractor | getSequenceInformationExtractor()
Overrides org. SequenceInformationExtractor which is able to extract
org.
from the JDBC result set returned when getQuerySequencesString()
is executed.
|
| public SequenceSupport | getSequenceSupport()
Overrides org. SequenceSupport for this dialect.
|
| public SqlAstTranslatorFactory | getSqlAstTranslatorFactory()
Overrides org. SqlAstTranslatorFactory specific to this dialect, or null
to use the standard translator.
|
| public TemporaryTableKind | getSupportedTemporaryTableKind()
Overrides org. |
| public BeforeUseAction | getTemporaryTableBeforeUseAction()
Overrides org. |
| public TimeZoneSupport | getTimeZoneSupport()
Overrides org. Types#TIMESTAMP_WITH_TIMEZONE.
|
| public UniqueDelegate | getUniqueDelegate()
Overrides org. UniqueDelegate supported by this dialect
|
| public ViolatedConstraintNameExtractor | getViolatedConstraintNameExtractor()
Overrides org. Implements org. ViolatedConstraintNameExtractor for extracting the name of
a violated constraint from a SQLException.
|
| public boolean | |
| public void | initializeFunctionRegistry(FunctionContributions functionContributions)
Overrides org. |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
treated as callable?
|
| private static int | |
| private static DatabaseVersion | |
| protected void | registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
Overrides org. getMaxVarcharLength(), getMaxNVarcharLength(),
and getMaxVarbinaryLength().
|
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the output param. position)Overrides org. ResultSet
by position, either an OUT parameter, or a
REF_CURSOR parameter as defined in Java 8.
|
| public boolean | requiresParensForTupleDistinctCounts()
Overrides org. supportsTupleDistinctCounts() is true, does this dialect
require the tuple to be delimited with parentheses?
|
| protected Integer | resolveSqlTypeCode(String columnTypeName, TypeConfiguration typeConfiguration)
Overrides org. SqlTypes type code for the given column
type name as reported by the database, or null
if it can't be resolved.
|
| protected Integer | resolveSqlTypeCode(String typeName, String baseTypeName, TypeConfiguration typeConfiguration)
Overrides org. SqlTypes type code for the given column
type name as reported by the database and the base type name
(i.e. without precision, length and scale), or null
if it can't be resolved.
|
| public JdbcType | resolveSqlTypeDescriptor(String
the column type name columnTypeName, int the jdbcTypeCode, int type codethe precision or 0 precision, int the scale or 0 scale, JdbcTypeRegistry jdbcTypeRegistry)Overrides org. JdbcType to a column of a JDBC
result set based on the column type name, JDBC type code,
precision, and scale.
|
| public String | rowId(String
the name specified by
rowId)org.,
which is ignored if getRowIdColumnString
is not overriddenOverrides org. rowid-like pseudo-column which
acts as a high-performance row locator, or null if
this dialect has no such pseudo-column.
|
| public int | rowIdSqlType()
Overrides org. rowid-like pseudo-column
which acts as a high-performance row locator.
|
| public boolean | supportsAlterColumnType()
Overrides org. |
| public boolean | supportsCaseInsensitiveLike()
Overrides org. LIKE comparisons?
|
| public boolean | supportsCommentOn()
Does this dialect support commenting on tables and columns?
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsDistinctFromPredicate()
Overrides org. distinct from predicate?
|
| public boolean | supportsFetchClause(FetchClauseType
The fetch clause type type)Overrides org. FETCH clause type.
|
| public boolean | supportsIfExistsAfterAlterTable()
Overrides org. alter table, can the phrase if exists be
applied?
|
| public boolean | supportsIfExistsAfterTableName()
Overrides org. if exists be
applied after the table name?
|
| public boolean | supportsIfExistsBeforeConstraintName()
Overrides org. alter table statement,
can the phrase if exists be applied before the constraint
name?
|
| public boolean | supportsIfExistsBeforeTableName()
Overrides org. if exists be
applied before the table name?
|
| public boolean | Returns: true because we can use select ... from final table (insert .... )Overrides org. insert statement, using native SQL syntax?
|
| public boolean | supportsIsTrue()
Overrides org. is true and is false
operators?
|
| public boolean | supportsLobValueChangePropagation()
Overrides org. |
| public boolean | supportsOffsetInSubquery()
Overrides org. offset in subqueries?
|
| public boolean | supportsRecursiveCTE()
Overrides org. |
| public boolean | supportsStandardArrays()
Overrides org. integer array.
|
| public boolean | supportsTemporalLiteralOffset()
Overrides org. |
| public boolean | |
| public boolean | supportsTupleCounts()
Overrides org. count(a,b)?
|
| public boolean | supportsWindowFunctions()
Overrides org. row_number() over (..)?
|
| public String | timestampaddPattern(TemporalUnit
The unit to add to the temporal unit, TemporalType The type of the temporal temporalType, IntervalType The type of interval to add or null if it's not a native interval intervalType)Overrides org. timestampadd() function call.
|
| public String | timestampdiffPattern(TemporalUnit
the first argument unit, TemporalType true if the first argument is
a timestamp, false if a date fromTemporalType, TemporalType true if the second argument is toTemporalType)Overrides org. timestampdiff() function call.
|
| public String | translateExtractField(TemporalUnit unit)
Overrides org. extract() function,
or of this dialect's equivalent
function.
|
| public boolean | useArrayForMultiValuedParameters()
Overrides org. |
| private static MutationOperation | usingMerge(EntityMutationTarget mutationTarget, OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private static MutationOperation | withoutMerge(EntityMutationTarget mutationTarget, OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|