| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendBinaryLiteral(SqlAppender appender, byte[] bytes)
Overrides org. SqlAppender.
|
| public String | appendLockHint(LockOptions
The lock options to apply lockOptions, String The name of the table to which to apply the lock hint. tableName)Overrides org. SELECT FOR UPDATE,
whereby a "lock hint" is appended to the table name in the from
clause.
|
| public String | applyLocksToSql(String
the SQL string to modify sql, LockOptions lock options indexed by aliased table names. aliasedLockOptions, Map<String, String[]> a map of key columns indexed by aliased table names. keyColumnNames)
Modifies the given SQL, applying the appropriate updates for the specified
lock modes and key columns.
|
| protected String | columnType(int
a SQL sqlTypeCode)type codeOverrides org. Types or SqlTypes.
|
| public boolean | doesReadCommittedCauseWritersToBlockReaders()
Overrides org. READ_COMMITTED isolation
implemented by forcing readers to wait for write locks to be released?
|
| public boolean | doesRepeatableReadCauseReadersToBlockWriters()
Overrides org. REPEATABLE_READ isolation
implemented by forcing writers to wait for read locks to be released?
|
| public String | getAddColumnString()
Overrides org. alter table command used to add
a column to a table, usually add column or add.
|
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public int | getDefaultStatementBatchSize()
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 String | getForUpdateString()
Overrides org. SELECT statements to
acquire pessimistic UPGRADE locks for this dialect.
|
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport for this dialect.
|
| public NullOrdering | getNullOrdering()
Returns the default ordering of null.
|
| public int | getPreferredSqlTypeCodeForBoolean()
Overrides org. boolean.
|
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter, extract the
ResultSet from the OUT parameter.
|
| public String | getSelectGUIDString()
Overrides org. |
| public TemporaryTableKind | getSupportedTemporaryTableKind()
Overrides org. |
| public AfterUseAction | getTemporaryTableAfterUseAction()
Overrides org. |
| public BeforeUseAction | getTemporaryTableBeforeUseAction()
Overrides org. |
| public String | getTemporaryTableCreateCommand()
Overrides org. |
| public RowLockStrategy | getWriteRowLockStrategy()
Overrides org. |
| public void | initializeFunctionRegistry(FunctionContributions functionContributions)
Overrides org. |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
treated as callable?
|
| public boolean | qualifyIndexName()
Do we need to qualify index names with the schema name?
|
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the output param. col)Overrides org. ResultSet
by position, either an OUT parameter, or a
REF_CURSOR parameter as defined in Java 8.
|
| public static String | replaceLtrimRtrim(TrimSpec specification, char character)
Deprecated
for removal. Use
replaceLtrimRtrim(TrimSpec, boolean) instead.
|
| public static String | |
| public boolean | requiresCastForConcatenatingNonStrings()
Overrides org. concat() function?
|
| 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 boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsPartitionBy()
Overrides org. partition by?
|
| public boolean | supportsTupleDistinctCounts()
Overrides org. count(distinct a,b)?
|
| public String | trimPattern(TrimSpec specification, boolean
true if the trim character is a whitespace and can be omitted,
false if it must be explicit and a ?2 placeholder should be included in the patternOverrides org. trim() function call.
|
| AbstractTransactSQLDialect | back to summary |
|---|---|
| public AbstractTransactSQLDialect(DatabaseVersion version) | |
| AbstractTransactSQLDialect | back to summary |
|---|---|
| public AbstractTransactSQLDialect(DialectResolutionInfo info) | |
| appendBinaryLiteral | back to summary |
|---|---|
| public void appendBinaryLiteral(SqlAppender appender, byte[] bytes) Overrides org. Doc from org. Append a binary literal to the given
| |
| appendLockHint | back to summary |
|---|---|
| public String appendLockHint(LockOptions lockOptions, String tableName) Overrides org. Doc from org. Some dialects support an alternative means to
| |
| applyLocksToSql | back to summary |
|---|---|
| public String applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<String, String[]> keyColumnNames) Overrides org. Doc from org. Modifies the given SQL, applying the appropriate updates for the specified lock modes and key columns.
This allows emulation of | |
| columnType | back to summary |
|---|---|
| protected String columnType(int sqlTypeCode) Overrides org. Doc from org. The database column type name for a given JDBC type code defined
in
This method may be overridden by concrete Note that:
| |
| doesReadCommittedCauseWritersToBlockReaders | back to summary |
|---|---|
| public boolean doesReadCommittedCauseWritersToBlockReaders() Overrides org. Doc from org. For the underlying database, is
| |
| doesRepeatableReadCauseReadersToBlockWriters | back to summary |
|---|---|
| public boolean doesRepeatableReadCauseReadersToBlockWriters() Overrides org. Doc from org. For the underlying database, is
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The subcommand of the | |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. The command used to retrieve the current timestamp from the database.
| |
| getDefaultStatementBatchSize | back to summary |
|---|---|
| public int getDefaultStatementBatchSize() Overrides org. Doc from org. The default value to use for the configuration property hibernate.jdbc.batch_size.
| |
| getFallbackSqmInsertStrategy | back to summary |
|---|---|
| public SqmMultiTableInsertStrategy getFallbackSqmInsertStrategy(EntityMappingType entityDescriptor, RuntimeModelCreationContext runtimeModelCreationContext) Overrides org. Doc from org. Deprecated as a consequence of The
| |
| getFallbackSqmMutationStrategy | back to summary |
|---|---|
| public SqmMultiTableMutationStrategy getFallbackSqmMutationStrategy(EntityMappingType entityDescriptor, RuntimeModelCreationContext runtimeModelCreationContext) Overrides org. Doc from org. Deprecated as a consequence of The
| |
| getForUpdateString | back to summary |
|---|---|
| public String getForUpdateString() Overrides org. Doc from org. Get the string to append to | |
| getIdentityColumnSupport | back to summary |
|---|---|
| public IdentityColumnSupport getIdentityColumnSupport() Overrides org. Doc from org. Get the appropriate
| |
| getNullOrdering | back to summary |
|---|---|
| public NullOrdering getNullOrdering() Overrides org. Doc from org. Returns the default ordering of null.
| |
| getPreferredSqlTypeCodeForBoolean | back to summary |
|---|---|
| public int getPreferredSqlTypeCodeForBoolean() Overrides org. Doc from org. The JDBC type code to use for mapping
properties of Java type
Usually | |
| getResultSet | back to summary |
|---|---|
| public ResultSet getResultSet(CallableStatement ps) throws SQLException Overrides org. Doc from org. Given a callable statement previously
processed by
| |
| getSelectGUIDString | back to summary |
|---|---|
| public String getSelectGUIDString() Overrides org. Doc from org. Get the command used to select a GUID from the database. Optional operation. | |
| getSupportedTemporaryTableKind | back to summary |
|---|---|
| public TemporaryTableKind getSupportedTemporaryTableKind() Overrides org. Doc from org. The kind of temporary tables that are supported on this database.
| |
| getTemporaryTableAfterUseAction | back to summary |
|---|---|
| public AfterUseAction getTemporaryTableAfterUseAction() Overrides org. Doc from org. The action to take after finishing use of a temporary table.
| |
| getTemporaryTableBeforeUseAction | back to summary |
|---|---|
| public BeforeUseAction getTemporaryTableBeforeUseAction() Overrides org. Doc from org. The action to take before beginning use of a temporary table.
| |
| getTemporaryTableCreateCommand | back to summary |
|---|---|
| public String getTemporaryTableCreateCommand() Overrides org. Doc from org. The command to create a temporary table.
| |
| getWriteRowLockStrategy | back to summary |
|---|---|
| public RowLockStrategy getWriteRowLockStrategy() Overrides org. Doc from org. The row lock strategy to use for write locks.
| |
| initializeFunctionRegistry | back to summary |
|---|---|
| public void initializeFunctionRegistry(FunctionContributions functionContributions) Overrides org. Doc from org. Initialize the given registry with any dialect-specific functions. Support for certain SQL functions is required, and if the database does not support a required function, then the dialect must define a way to emulate it. These required functions include the functions defined by the JPA query language specification:
java.time
types:
extract(), and desugared by the parser:
second()
function returns a floating point value, contrary to the integer
type returned by the native function with this name on many databases.
Thus, we don't just naively map these HQL functions to the native SQL
functions with the same names.
| |
| isCurrentTimestampSelectStringCallable | back to summary |
|---|---|
| public boolean isCurrentTimestampSelectStringCallable() Overrides org. Doc from org. Is the command returned by Typically, this indicates the use of the JDBC escape syntax.
| |
| qualifyIndexName | back to summary |
|---|---|
| public boolean qualifyIndexName() Overrides org. Doc from org. Do we need to qualify index names with the schema name?
| |
| registerResultSetOutParameter | back to summary |
|---|---|
| public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException Overrides org. Doc from org. Registers a parameter capable of returning a
| |
| replaceLtrimRtrim | back to summary |
|---|---|
public static String replaceLtrimRtrim(TrimSpec specification, char character)
| |
| replaceLtrimRtrim | back to summary |
|---|---|
| public static String replaceLtrimRtrim(TrimSpec specification, boolean isWhitespace) | |
| requiresCastForConcatenatingNonStrings | back to summary |
|---|---|
| public boolean requiresCastForConcatenatingNonStrings() Overrides org. Doc from org. Does this dialect/database require casting of non-string arguments
in the
| |
| resolveSqlTypeDescriptor | back to summary |
|---|---|
| public JdbcType resolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, JdbcTypeRegistry jdbcTypeRegistry) Overrides org. Doc from org. Assigns an appropriate | |
| supportsCurrentTimestampSelection | back to summary |
|---|---|
| public boolean supportsCurrentTimestampSelection() Overrides org. Doc from org. Does this dialect support some way to retrieve the current timestamp value from the database?
| |
| supportsExistsInSelect | back to summary |
|---|---|
| public boolean supportsExistsInSelect() Overrides org. Doc from org. Does the dialect support an exists statement in the select clause?
| |
| supportsPartitionBy | back to summary |
|---|---|
| public boolean supportsPartitionBy() Overrides org. Doc from org. Does is dialect support
| |
| supportsTupleDistinctCounts | back to summary |
|---|---|
| public boolean supportsTupleDistinctCounts() Overrides org. Doc from org. Does this dialect support
| |
| trimPattern | back to summary |
|---|---|
| public String trimPattern(TrimSpec specification, boolean isWhitespace) Overrides org. Doc from org. Obtain a pattern for the SQL equivalent to a
| |