Class SybaseDialect
- All Implemented Interfaces:
CheckConstraintSupport, ForeignKeySupport, IdentifierSupport, KeywordSupport, LiteralSupport, AlterTableSupport, ColumnDefinitionSupport, ConstraintControlSupport, IndexDdlSupport, TableCreationSupport, TruncateSupport, CurrentTemporalSupport, TemporalFormatSupport, TemporalOperationSupport, ConversionContext
- Direct Known Subclasses:
AbstractSybaseDialect, SybaseASEDialect
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class Dialect
LEGACY_LOB_MERGE_STRATEGY, NEW_LOCATOR_LOB_MERGE_STRATEGY, STANDARD_MULTI_KEY_LOAD_SIZING_STRATEGY, STREAM_XFER_LOB_MERGE_STRATEGYFields inherited from interface ConstraintControlSupport
NONEFields inherited from interface TruncateSupport
STANDARD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether every table partition key must also occur in its primary key.alterColumnType(AlterColumnTypeRequest request) voidappendDateTimeLiteral(SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone) Append a datetime literal for ajava.timevalue.voidappendDateTimeLiteral(SqlAppender appender, Calendar calendar, TemporalType precision, TimeZone jdbcTimeZone) Append a datetime literal for aCalendarvalue.voidappendDateTimeLiteral(SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone) Append a datetime literal for a legacyDatevalue.voidappendDefinition(SqlAppender appender, ColumnDefinitionRequest request) voidappendFormat(SqlAppender appender, String format) Append the database translation of the supplied Hibernate format pattern.Build and supply the configured identifier helper from the stable JDBC metadata snapshot and selected keyword strategy.castPattern(CastType from, CastType to) Obtain a pattern for the SQL equivalent to acast()function call.voidcontributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Contribute database-specific Java, JDBC, DDL, and basic type descriptors.Render the current SQL timestamp expression used forjava.sql.Timestamp.extractPattern(TemporalUnit unit) Return an extraction pattern containing?1for the field and?2for the value.Supply the callable-statement protocol for this database and JDBC driver.The common-table-expression capabilities of this Dialect.Supply current temporal expressions and database-side timestamp retrieval.Supply direct JDBC access capabilities for Java Time classes.The qualifier form accepted for target-column references in update and delete statements.Supply the identity profile matching the resolved Sybase JDBC driver.Supply the stable overrides applied to raw JDBC metadata reports.Supplies the cohesive pessimistic-locking profile for this Dialect.intReturn the database's maximum identifier length.protected DatabaseVersionGet the version of the SQL dialect that is the minimum supported by this implementation.The native SQL mutation-syntax capabilities of this Dialect.Supply catalog and schema qualification support, or returnnullto useDatabaseMetaData.Supply catalog and schema lifecycle behavior to schema tooling.Describe how this database represents nationalized character data.Supply the database's default null ordering and explicit null-precedence syntax capabilities.Supplies the database limits forIN-expression elements and total JDBC statement parameters.The native row-value syntax of this Dialect.Supply the strategy which resolves the current schema for a JDBC connection.Supply the factory for this Dialect's single-use SQL AST translators.Supply the database's stable string-value semantics.Supply the strategy for synthetic table roots required while converting grouping and ordering expressions to SQL AST.Supply datetime-format translation.Supply extraction and timestamp-arithmetic syntax.Supply the stable strategy used for unique-key representation and DDL.The contexts in which this Dialect supports native multi-rowvaluessyntax.voidinitializeFunctionRegistry(FunctionContributions functionContributions) Contribute the database-specific function descriptors after independent function contributors have run.resolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, JdbcTypeRegistry jdbcTypeRegistry) Resolve the non-null JDBC descriptor for result-set metadata.intresolveSqlTypeLength(String columnTypeName, int jdbcTypeCode, int precision, int scale, int displaySize) Normalize JDBC result-set metadata to Hibernate's resolved column length.booleanDetermine whether the JDBC driver correctly implements the nationalizedResultSet,PreparedStatement, andCallableStatementmethods.timestampaddPattern(TemporalUnit unit, TemporalType temporalType, IntervalType intervalType) Return a timestamp-add pattern containing?1,?2, and?3.timestampdiffPattern(TemporalUnit unit, TemporalType fromTemporalType, TemporalType toTemporalType) Return a timestamp-difference pattern containing?1,?2, and?3.Translate an extraction field name.booleanWhetherCurrentTemporalSupport.currentTimestamp()uses the standard SQLcurrent_timestampfunction.Methods inherited from class AbstractTransactSQLDialect
addColumnPrefix, appendBinaryLiteral, columnType, contributeDefaultProperties, getCurrentTimestampSelection, getExpressionCoercionSupport, getLocalTemporaryTableStrategy, getLockingClauseStrategy, getMultiTableMutationSupport, getPreferredSqlTypeCodeForBoolean, getSubquerySupport, getTupleCountSupport, nameQualification, replaceLtrimRtrim, trimPatternMethods inherited from class Dialect
appendArrayLiteral, augmentPhysicalTableTypes, augmentRecognizedTableTypes, buildLockingClauseStrategy, buildSQLExceptionConversionDelegate, buildStringToBooleanCast, buildStringToBooleanCastDecode, castType, causesRollback, constraintControlMode, contributeKeywords, createOptionalTableUpdateOperation, defaultScrollMode, determineDatabaseVersion, equivalentTypes, getAggregateSupport, getAlterTableSupport, getArraySupport, getArrayTypeName, getBatchLoadSizingStrategy, getCatalogSeparator, getCheckConstraintSupport, getColumnAliasExtractor, getColumnDefinitionSupport, getConstraintControlSupport, getDefaultOrdinalityColumnName, getDefaultProperties, getEntityLockingStrategyFactory, getEnumSupport, getFetchClauseSupport, getForeignKeyExporter, getForeignKeySupport, getFunctionalDependencyAnalysisSupport, getGeneratedValuesSupport, getGlobalTemporaryTableStrategy, getIdentifierSupport, getIfExistsSupport, getIndexDdlSupport, getIndexExporter, getInformationExtractor, getKeywords, getKeywordSupport, getLimitHandler, getLiteralSupport, getLobMergeStrategy, getLobSupport, getLowercaseFunction, getMultiKeyLoadSizingStrategy, getNativeParameterMarkerStrategy, getNativeValueGenerationStrategy, getObjectNullBindingStrategy, getPersistentTemporaryTableStrategy, getPredicateSupport, getPreferredSqlTypeCodeForArray, getQueryHintPlacement, getQueryHintString, getQueryHintString, getRefCursorSupportFactory, getRowIdSupport, getRowLevelSecurity, getSchemaCommentSupport, getSchemaDropSupport, getSelectClauseNullString, getSequenceExporter, getSequenceInformationExtractor, getSequenceSupport, getSetOperationSupport, getSetOperatorSqlString, getSingleRowTableSupport, getSizeStrategy, getTableCleaner, getTableCreationSupport, getTableExporter, getTableMigrator, getTemporalTableSupport, getTemporalValueSemantics, getTemporaryTableExporter, getTimeZoneSupport, getTruncateSupport, getTypeSizingProfile, getUserDefinedTypeExporter, getVersion, getViolatedConstraintNameExtractor, getWindowFunctionSupport, isJdbcLogWarningsEnabledByDefault, narrowCastType, registerColumnTypes, resolveSqlTypeCode, resolveSqlTypeCode, supportsCrossJoin, supportsFilterClause, supportsOrdinalSelectItemReference, supportsUserDefinedTypes, throttleDdl, toString, truncateModeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AlterTableSupport
addColumnSuffix, alterTableCommandMethods inherited from interface CheckConstraintSupport
render, supportsMethods inherited from interface ConstraintControlSupport
disableCommands, disableConstraintCommands, enableCommands, enableConstraintCommandsMethods inherited from interface CurrentTemporalSupport
currentDate, currentLocalTime, currentLocalTimestamp, currentTime, currentTimestampWithTimeZone, getCurrentTimestampSelection, isCurrentTimestampStableMethods inherited from interface ForeignKeySupport
renderAddConstraint, renderDropConstraint, requiresSelfReferentialForeignKeyNullification, supportsAlterTableConstraints, supportsOnDeleteActionMethods inherited from interface IdentifierSupport
closeQuote, getMaxAliasLength, openQuote, quote, quoteCollation, toQuotedIdentifierMethods inherited from interface IndexDdlSupport
createCommand, createTailMethods inherited from interface KeywordSupport
acceptsJdbcKeywordMethods inherited from interface LiteralSupport
appendBooleanValueString, appendIntervalLiteral, appendIntervalLiteral, appendLiteral, appendUUIDLiteral, toBooleanValueStringMethods inherited from interface TableCreationSupport
createTableCommand, requiresViewColumnList, tableCreationOptionsMethods inherited from interface TemporalOperationSupport
fractionalSecondPrecisionInNanos, translateDurationFieldMethods inherited from interface TruncateSupport
renderCommands
-
Field Details
-
jtdsDriver
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
SybaseDialect
public SybaseDialect() -
SybaseDialect
-
SybaseDialect
-
-
Method Details
-
getTemporalOperationSupport
Description copied from class:DialectSupply extraction and timestamp-arithmetic syntax. Return one stable, non-null, thread-safe implementation. Providers may implementTemporalOperationSupportdirectly and returnthis.- Overrides:
getTemporalOperationSupportin classDialect- See Also:
-
getTemporalFormatSupport
Description copied from class:DialectSupply datetime-format translation. Return one stable, non-null, thread-safe implementation.- Overrides:
getTemporalFormatSupportin classDialect- See Also:
-
getCurrentTemporalSupport
Description copied from class:DialectSupply current temporal expressions and database-side timestamp retrieval. Return one stable, non-null, thread-safe implementation. Providers may implementCurrentTemporalSupportdirectly and returnthis.- Overrides:
getCurrentTemporalSupportin classAbstractTransactSQLDialect- See Also:
-
getMinimumSupportedVersion
Description copied from class:DialectGet the version of the SQL dialect that is the minimum supported by this implementation.This method is called during superclass construction. Implementations must return construction-safe immutable data and must not depend on subclass initialization.
- Overrides:
getMinimumSupportedVersionin classDialect
-
getDriverKind
-
getDirectJavaTimeJdbcSupport
Description copied from class:DialectSupply direct JDBC access capabilities for Java Time classes. Return one stable, non-null, thread-safe implementation.- Overrides:
getDirectJavaTimeJdbcSupportin classDialect- Returns:
- the direct Java Time JDBC support for this Dialect and driver
- See Also:
-
resolveSqlTypeDescriptor
@SPI({USE,IMPLEMENT}) public JdbcType resolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, JdbcTypeRegistry jdbcTypeRegistry) Description copied from class:DialectResolve the non-null JDBC descriptor for result-set metadata.
Preserve vendor replacement and array-component resolution, and delegate unmatched codes to
jdbcTypeRegistry.- Overrides:
resolveSqlTypeDescriptorin classAbstractTransactSQLDialect
-
resolveSqlTypeLength
@SPI({USE,IMPLEMENT}) public int resolveSqlTypeLength(String columnTypeName, int jdbcTypeCode, int precision, int scale, int displaySize) Description copied from class:DialectNormalize JDBC result-set metadata to Hibernate's resolved column length.
JDBC
precisionmay represent character length. Providers should retain their vendor formulas using all supplied metadata values.- Overrides:
resolveSqlTypeLengthin classDialect
-
getSyntheticTableGroupSupport
Description copied from class:DialectSupply the strategy for synthetic table roots required while converting grouping and ordering expressions to SQL AST.
Return one non-null immutable or thread-safe strategy whose answers remain stable for this Dialect's lifetime. This strategy controls query structure; it does not apply to DDL, temporary tables, or no-column inserts.
- Overrides:
getSyntheticTableGroupSupportin classDialect- Returns:
- the synthetic-table strategy
- See Also:
-
getSqlAstTranslatorFactory
Description copied from class:DialectSupply the factory for this Dialect's single-use SQL AST translators.
Return
nullto useStandardSqlAstTranslatorFactory. A custom Dialect should normally return a reusable factory derived from that class and create translators derived fromAbstractSqlAstTranslatoror an appropriate supported family base. The factory must not retain translation requests, and every translator it returns is used for one translation.- Overrides:
getSqlAstTranslatorFactoryin classDialect- See Also:
-
getLockingSupport
Description copied from class:DialectSupplies the cohesive pessimistic-locking profile for this Dialect.
The profile coordinates capability metadata, statement-clause rendering, table hints, already-rendered SQL rewriting, connection timeout handling, and follow-on locking. A custom Dialect should supply one internally consistent profile instead of overriding those behaviors independently. The returned support must be non-null and stable for the Dialect lifetime; its components may be reused concurrently and must not retain per-query requests.
- Overrides:
getLockingSupportin classDialect- See Also:
-
getNullOrderingSupport
Description copied from class:DialectSupply the database's default null ordering and explicit null-precedence syntax capabilities.
Override this method with a stable, non-null profile when the database's default null placement differs from
NullOrderingSupport.STANDARD, or when it cannot rendernulls firstandnulls lastnatively. Dialect subclasses refining a family profile should copyDialect.getNullOrderingSupport()from the superclass and change only the values which differ.- Overrides:
getNullOrderingSupportin classAbstractTransactSQLDialect- Returns:
- the stable, non-null null-ordering-support profile
-
getParameterLimits
Description copied from class:DialectSupplies the database limits for
IN-expression elements and total JDBC statement parameters.Return a non-null, immutable profile whose values remain stable for this Dialect's lifetime. Use
ParameterLimits.UNLIMITEDwhen neither limit applies andParameterLimits.of(int)when both limits are identical. Keep the dimensions independent when the database imposes different expression and statement limits; Hibernate uses them for different planning decisions.- Overrides:
getParameterLimitsin classDialect- Returns:
- the non-null parameter-limit profile
-
contributeTypes
@SPI({IMPLEMENT,SUPPLY}) public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Description copied from class:DialectContribute database-specific Java, JDBC, DDL, and basic type descriptors.
Override this method when the database or JDBC driver requires descriptors beyond the inherited registrations. Invoke
superfirst unless the Dialect intentionally replaces the complete inherited contribution protocol. Obtain reusable dialect-specific JDBC descriptors from the family facades inorg.hibernate.dialect.type.spi, and preserve whether a descriptor replaces an existing registration or is added only when absent.- Overrides:
contributeTypesin classAbstractTransactSQLDialect- Parameters:
typeContributions- the Hibernate-supplied contribution registryserviceRegistry-the Hibernate-supplied services, including class loading used by driver-backed descriptor factories
Mutate the supplied boot-scoped registries only during this callback and do not retain the contribution context or a mutable registry afterward. Implement an independent
TypeContributorinstead when the contribution is not owned by a Dialect.
-
getNationalizationSupport
Description copied from class:DialectDescribe how this database represents nationalized character data.
This database SQL-type capability is independent of whether the JDBC driver correctly implements nationalized access methods. Override
Dialect.supportsNationalizedMethods()separately when the driver cannot use those methods.- Overrides:
getNationalizationSupportin classDialect- Returns:
- the database nationalization profile
- See Also:
-
supportsNationalizedMethods
Description copied from class:DialectDetermine whether the JDBC driver correctly implements the nationalized
ResultSet,PreparedStatement, andCallableStatementmethods.This driver capability is independent of the database SQL-type semantics described by
Dialect.getNationalizationSupport(). A provider should returnfalsewhen the driver requires the ordinary character methods even if the database supports explicit nationalized types.- Overrides:
supportsNationalizedMethodsin classDialect- Returns:
truewhen nationalized JDBC access methods may be used- See Also:
-
getStringValueSemantics
Description copied from class:DialectSupply the database's stable string-value semantics.- Overrides:
getStringValueSemanticsin classDialect- Returns:
- the non-null string-value profile
- See Also:
-
initializeFunctionRegistry
@SPI({IMPLEMENT,SUPPLY}) public void initializeFunctionRegistry(FunctionContributions functionContributions) Description copied from class:DialectContribute the database-specific function descriptors after independent function contributors have run.
Override this callback to extend or replace the inherited function set. Invoke
superfirst to retain Hibernate's standard and emulated registrations; omitting it deliberately replaces that set. Mutate the supplied boot-scoped function registry only during this callback, and do not retain the contribution context or registry afterward. Implement an independentFunctionContributorinstead when the contribution is not owned by a Dialect.- Overrides:
initializeFunctionRegistryin classAbstractTransactSQLDialect- Parameters:
functionContributions- the Hibernate-supplied function contribution target- See Also:
-
appendDefinition
@SPI({USE,IMPLEMENT}) public void appendDefinition(SqlAppender appender, ColumnDefinitionRequest request) - Specified by:
appendDefinitionin interfaceColumnDefinitionSupport
-
getSchemaNameResolver
Description copied from class:DialectSupply the strategy which resolves the current schema for a JDBC connection.
Return a stable, non-null resolver. Use the default resolver unless the driver cannot implement
Connection.getSchema()correctly.- Overrides:
getSchemaNameResolverin classDialect- See Also:
-
getNamespaceSupport
Description copied from class:DialectSupply catalog and schema lifecycle behavior to schema tooling.
Return one stable, non-null strategy. Prefer a complete immutable profile from
NamespaceSupports, and implementNamespaceSupportdirectly only for custom or multi-command namespace SQL.- Overrides:
getNamespaceSupportin classDialect- See Also:
-
getMaxIdentifierLength
Description copied from interface:IdentifierSupportReturn the database's maximum identifier length.- Specified by:
getMaxIdentifierLengthin interfaceIdentifierSupport
-
castPattern
Description copied from class:DialectObtain a pattern for the SQL equivalent to acast()function call. The resulting pattern must contain ?1 and ?2 placeholders for the arguments.- Overrides:
castPatternin classDialect- Parameters:
from- aCastTypeindicating the type of the value argumentto- aCastTypeindicating the type the value argument is cast to
-
appendDateTimeLiteral
@SPI({USE,IMPLEMENT}) public void appendDateTimeLiteral(SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone) Description copied from class:DialectAppend a datetime literal for a
java.timevalue.Preserve the value's offset only when the Dialect's temporal-value semantics permit it. Append immediately and retain no invocation state.
- Specified by:
appendDateTimeLiteralin interfaceLiteralSupport- Overrides:
appendDateTimeLiteralin classDialect
-
appendDateTimeLiteral
@SPI({USE,IMPLEMENT}) public void appendDateTimeLiteral(SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone) Description copied from class:DialectAppend a datetime literal for a legacy
Datevalue.Apply the supplied JDBC time zone where required, append immediately, and retain no invocation state.
- Specified by:
appendDateTimeLiteralin interfaceLiteralSupport- Overrides:
appendDateTimeLiteralin classDialect
-
appendDateTimeLiteral
@SPI({USE,IMPLEMENT}) public void appendDateTimeLiteral(SqlAppender appender, Calendar calendar, TemporalType precision, TimeZone jdbcTimeZone) Description copied from class:DialectAppend a datetime literal for a
Calendarvalue.Preserve Calendar-specific time-zone and millisecond semantics, append immediately, and retain no invocation state.
- Specified by:
appendDateTimeLiteralin interfaceLiteralSupport- Overrides:
appendDateTimeLiteralin classDialect
-
translateExtractField
Description copied from interface:TemporalOperationSupportTranslate an extraction field name.- Specified by:
translateExtractFieldin interfaceTemporalOperationSupport
-
extractPattern
Description copied from interface:TemporalOperationSupportReturn an extraction pattern containing?1for the field and?2for the value.- Specified by:
extractPatternin interfaceTemporalOperationSupport
-
timestampaddPattern
@SPI({USE,IMPLEMENT}) public String timestampaddPattern(TemporalUnit unit, TemporalType temporalType, IntervalType intervalType) Description copied from interface:TemporalOperationSupportReturn a timestamp-add pattern containing?1,?2, and?3.- Specified by:
timestampaddPatternin interfaceTemporalOperationSupport
-
timestampdiffPattern
@SPI({USE,IMPLEMENT}) public String timestampdiffPattern(TemporalUnit unit, TemporalType fromTemporalType, TemporalType toTemporalType) Description copied from interface:TemporalOperationSupportReturn a timestamp-difference pattern containing?1,?2, and?3.- Specified by:
timestampdiffPatternin interfaceTemporalOperationSupport
-
appendFormat
Description copied from interface:TemporalFormatSupportAppend the database translation of the supplied Hibernate format pattern.- Specified by:
appendFormatin interfaceTemporalFormatSupport
-
usesStandardCurrentTimestampFunction
Description copied from interface:CurrentTemporalSupportWhetherCurrentTemporalSupport.currentTimestamp()uses the standard SQLcurrent_timestampfunction. This capability is useful when SQL text supplied outside the Dialect, such as a column default, assumes the standard spelling.- Specified by:
usesStandardCurrentTimestampFunctionin interfaceCurrentTemporalSupport
-
currentTimestamp
Description copied from interface:CurrentTemporalSupportRender the current SQL timestamp expression used forjava.sql.Timestamp.- Specified by:
currentTimestampin interfaceCurrentTemporalSupport
-
buildIdentifierHelper
@SPI({USE,IMPLEMENT,SUPPLY}) public IdentifierHelper buildIdentifierHelper(IdentifierHelperBuildRequest request) Description copied from interface:IdentifierSupportBuild and supply the configured identifier helper from the stable JDBC metadata snapshot and selected keyword strategy.
This inherited implementation initializes identifier casing, keywords, and namespace support from the request. Invoke it before replacing any of those values with authoritative provider settings, then build the final helper from the same builder. Settings which this implementation does not initialize may be applied before invoking it. If builder configuration cannot express a database rule, decorate the final helper with
DelegatingIdentifierHelper. Do not retain the request, builder, or metadata view.- Specified by:
buildIdentifierHelperin interfaceIdentifierSupport- See Also:
-
getNameQualifierSupport
Description copied from class:DialectSupply catalog and schema qualification support, or return
nullto useDatabaseMetaData.This value does not define the catalog separator; override
Dialect.getCatalogSeparator()independently when the metadata-free fallback is not..- Overrides:
getNameQualifierSupportin classDialect- See Also:
-
getUniqueDelegate
Description copied from class:DialectSupply the stable strategy used for unique-key representation and DDL.
Return a stock profile from
UniqueDelegates, or a stable provider-owned implementation or decorator. Do not import a Hibernate.internalleaf.- Overrides:
getUniqueDelegatein classDialect- See Also:
-
getCallableStatementSupport
Description copied from class:DialectSupply the callable-statement protocol for this database and JDBC driver.
Return one non-null strategy whose behavior remains stable for this Dialect's lifetime. Use
CallableStatementSupportsfor the standard and stock database protocols.- Overrides:
getCallableStatementSupportin classDialect- Returns:
- the callable-statement strategy
- See Also:
-
getJdbcMetadataOverrides
Description copied from class:DialectSupply the stable overrides applied to raw JDBC metadata reports.
Return one non-null immutable profile whose identity and answers remain stable for this Dialect's lifetime. Use
REPORTEDto retain Hibernate's interpreted driver answer, and forceSUPPORTEDorUNSUPPORTEDonly when the selected driver report is known to be inaccurate. This profile controls effective JDBC behavior, not callable SQL syntax.- Overrides:
getJdbcMetadataOverridesin classDialect- Returns:
- the effective JDBC metadata overrides
- See Also:
-
alterColumnType
- Specified by:
alterColumnTypein interfaceAlterTableSupport
-
getIdentityColumnSupport
Supply the identity profile matching the resolved Sybase JDBC driver. Preserve the inferred generated-keys path for jTDS and the appended-select path for jConnect and other drivers.- Overrides:
getIdentityColumnSupportin classAbstractTransactSQLDialect- Since:
- 8.0
-
getDmlTargetColumnQualifierSupport
@SPI({USE,IMPLEMENT,SUPPLY}) public DmlTargetColumnQualifierSupport getDmlTargetColumnQualifierSupport()Description copied from class:DialectThe qualifier form accepted for target-column references in update and delete statements.
Translators use this value when rendering assignments and predicates. A custom Dialect should return the least permissive form required by the database, not a form used only by an emulation.
- Overrides:
getDmlTargetColumnQualifierSupportin classDialect- Returns:
- the non-null target-column qualifier support
- See Also:
-
getValuesListSupport
Description copied from class:DialectThe contexts in which this Dialect supports native multi-row
valuessyntax.The returned immutable profile must be non-null and stable for the lifetime of this Dialect. Report only native syntax support; translator emulation is selected separately.
- Overrides:
getValuesListSupportin classDialect
-
getMutationSyntaxSupport
Description copied from class:DialectThe native SQL mutation-syntax capabilities of this Dialect.
The returned immutable profile must be non-null and stable for the lifetime of this Dialect. Report syntax which the translator may use directly; do not report a capability merely because it can be emulated.
QueryMutationRenderingSupportconsumes this profile when selecting a native or emulated plan.- Overrides:
getMutationSyntaxSupportin classDialect
-
getRowValueSupport
Description copied from class:DialectThe native row-value syntax of this Dialect.
Override this method to supply explicit
row(a, b)construction, row equality, ordering, and distinctness comparisons, row-valuedINlists, row-valuedINsubqueries, and quantified row comparisons. Treat each feature as an exact native-syntax declaration: do not inferIN-subquery support fromIN-list support or explicit row construction from comparison support. Copy the superclass profile when refining an inherited Dialect family. Return one immutable, non-null profile whose values remain stable for the lifetime of this Dialect.- Overrides:
getRowValueSupportin classDialect- Returns:
- this Dialect's stable row-value-support profile
-
getCteSupport
Description copied from class:DialectThe common-table-expression capabilities of this Dialect.
The returned immutable profile must be non-null and stable for the lifetime of this Dialect. Hibernate may cache and reuse it. Overrides may construct a new profile or copy
CteSupport.STANDARD; invokingsuperis not required. This method is called only after Dialect construction, has no corresponding shutdown lifecycle, and failures propagate to the operation which obtains the profile.- Overrides:
getCteSupportin classDialect
-
addPartitionKeyToPrimaryKey
Description copied from class:DialectWhether every table partition key must also occur in its primary key.
Return
trueonly when the database requires the rule for both ordinary and temporal-history tables. This has nothing to do with window-function partitioning.- Overrides:
addPartitionKeyToPrimaryKeyin classDialect
-