Class SingleStoreDialect
java.lang.Object
org.hibernate.dialect.Dialect
org.hibernate.community.dialect.SingleStoreDialect
- All Implemented Interfaces:
org.hibernate.boot.model.FunctionContributor, org.hibernate.boot.model.TypeContributor, org.hibernate.exception.spi.ConversionContext
public class SingleStoreDialect
extends org.hibernate.dialect.Dialect
An SQL dialect for SingleStore.
The following are some of the key aspects and limitations of SingleStore that may affect Hibernate functionality:
- SingleStore supports two table types: COLUMNSTORE and ROWSTORE. Explicit table type can be configured by setting 'hibernate.dialect.singlestore.table_type' property. Refer to
SingleStoreDialect.SingleStoreTableTypefor details. - SingleStore has a random order for SELECT queries, which may impact the predictability of query results.
- SingleStore does not support foreign keys and referential integrity, which could affect the design of your database schema.
- The SingleStore dialect ignores unique key constraints. See
SingleStoreDialect.DoNothingUniqueDelegatefor more information. - SingleStore does not support zoned timestamps, which might require adjustments to how you handle time-related data.
- Updating primary keys in SingleStore is restricted because every primary key is also a unique key and shard key.
- SingleStore does not support the ALL/ANY clause in SQL queries.
- Sub-selects with references to outer table fields are not supported in SingleStore.
- SingleStore does not support the 'FOR UPDATE' clause for table locking with distributed joins. It's disabled by default, can be enabled by setting 'hibernate.dialect.singlestore.for_update_lock_enabled' property
SINGLE_STORE_FOR_UPDATE_LOCK_ENABLED. - The LIKE clause in SingleStore is case-insensitive, which might differ from other SQL implementations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe default table type in SingleStore is 'columnstore'.Nested classes/interfaces inherited from class org.hibernate.dialect.Dialect
org.hibernate.dialect.Dialect.SizeStrategy, org.hibernate.dialect.Dialect.SizeStrategyImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSpecifies SingleStore FOR UPDATE clause lock enable.static final StringSpecifies SingleStore explicit table type.Fields inherited from class org.hibernate.dialect.Dialect
CLOSED_QUOTE, FALSE_STRING_VALUES, LEGACY_LOB_MERGE_STRATEGY, LOG_BASE2OF10, NEW_LOCATOR_LOB_MERGE_STRATEGY, QUOTE, STANDARD_MULTI_KEY_LOAD_SIZING_STRATEGY, STREAM_XFER_LOB_MERGE_STRATEGY, TRUE_STRING_VALUES -
Constructor Summary
ConstructorsConstructorDescriptionSingleStoreDialect(org.hibernate.dialect.DatabaseVersion version, SingleStoreDialect.SingleStoreTableType explicitTableType, boolean isForUpdateLockingEnabled) SingleStoreDialect(org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo info) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendDatetimeFormat(org.hibernate.sql.ast.spi.SqlAppender appender, String format) voidappendDateTimeLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone) voidappendDateTimeLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, Calendar calendar, TemporalType precision, TimeZone jdbcTimeZone) voidappendDateTimeLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone) voidappendLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, String literal) org.hibernate.engine.jdbc.env.spi.IdentifierHelperbuildIdentifierHelper(org.hibernate.engine.jdbc.env.spi.IdentifierHelperBuilder builder, DatabaseMetaData metadata) org.hibernate.exception.spi.SQLExceptionConversionDelegatebooleanbooleancastPattern(org.hibernate.query.sqm.CastType from, org.hibernate.query.sqm.CastType to) protected StringcastType(int sqlTypeCode) charprotected StringcolumnType(int sqlTypeCode) voidcontributeTypes(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry) static org.hibernate.dialect.ReplacerdatetimeFormat(String format) booleanbooleanextractPattern(org.hibernate.query.common.TemporalUnit unit) getAddForeignKeyConstraintString(String constraintName, String foreignKeyDefinition) getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey, boolean referencesPrimaryKey) getAddPrimaryKeyConstraintString(String constraintName) getAlterColumnTypeString(String columnName, String columnType, String columnDefinition) getColumnComment(String comment) String[]getCreateCatalogCommand(String catalogName) String[]getCreateSchemaCommand(String schemaName) intlongorg.hibernate.dialect.DmlTargetColumnQualifierSupportString[]getDropCatalogCommand(String catalogName) String[]getDropSchemaCommand(String schemaName) getDual()getEnumTypeDeclaration(String name, String[] values) org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategygetFallbackSqmInsertStrategy(org.hibernate.metamodel.mapping.EntityMappingType rootEntityDescriptor, org.hibernate.metamodel.spi.RuntimeModelCreationContext runtimeModelCreationContext) org.hibernate.query.sqm.mutation.spi.SqmMultiTableMutationStrategygetFallbackSqmMutationStrategy(org.hibernate.metamodel.mapping.EntityMappingType rootEntityDescriptor, org.hibernate.metamodel.spi.RuntimeModelCreationContext runtimeModelCreationContext) intorg.hibernate.tool.schema.spi.Exporter<org.hibernate.mapping.ForeignKey> SingleStore does not support foreign keys and referential integritygetForUpdateNowaitString(String aliases) getForUpdateSkipLockedString(String aliases) longorg.hibernate.dialect.FunctionalDependencyAnalysisSupportorg.hibernate.dialect.SelectItemReferenceStrategyorg.hibernate.dialect.identity.IdentityColumnSupportintorg.hibernate.dialect.pagination.LimitHandlerorg.hibernate.dialect.temptable.TemporaryTableStrategyorg.hibernate.dialect.lock.spi.LockingSupportintintintThe biggest size value that can be supplied as argumentintprotected org.hibernate.dialect.DatabaseVersionorg.hibernate.engine.jdbc.env.spi.NameQualifierSupportgetNullColumnString(String columnType) org.hibernate.dialect.NullOrderingintgetQueryHintString(String query, String hints) org.hibernate.engine.jdbc.env.spi.SchemaNameResolverorg.hibernate.tool.schema.spi.Exporter<org.hibernate.boot.model.relational.Sequence> org.hibernate.dialect.Dialect.SizeStrategyorg.hibernate.sql.ast.SqlAstTranslatorFactoryorg.hibernate.dialect.temptable.TemporaryTableKindgetTableComment(String comment) org.hibernate.query.sqm.mutation.spi.AfterUseActionorg.hibernate.query.sqm.mutation.spi.BeforeUseActionorg.hibernate.dialect.unique.UniqueDelegateorg.hibernate.exception.spi.ViolatedConstraintNameExtractorgetWriteLockString(String aliases, int timeout) getWriteLockString(String aliases, Timeout timeout) voidinitializeFunctionRegistry(org.hibernate.boot.model.FunctionContributions functionContributions) booleanbooleanbooleancharbooleanprotected voidregisterColumnTypes(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry) protected voidintregisterResultSetOutParameter(CallableStatement statement, int col) org.hibernate.type.descriptor.jdbc.JdbcTyperesolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry jdbcTypeRegistry) intresolveSqlTypeLength(String columnTypeName, int jdbcTypeCode, int precision, int scale, int displaySize) booleanSingleStore doesn't support modifying column type on columnstore tables.booleanbooleanbooleanFeature 'Check constraints' is not supported by SingleStore.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanFeature 'Check constraints' is not supported by SingleStore.booleanbooleantimestampaddPattern(org.hibernate.query.common.TemporalUnit unit, TemporalType temporalType, org.hibernate.query.sqm.IntervalType intervalType) timestampdiffPattern(org.hibernate.query.common.TemporalUnit unit, TemporalType fromTemporalType, TemporalType toTemporalType) booleanMethods inherited from class org.hibernate.dialect.Dialect
addPartitionKeyToPrimaryKey, addSqlHintOrComment, addUseIndexQueryHint, appendArrayLiteral, appendBinaryLiteral, appendBooleanValueString, appendCheckConstraintOptions, appendIntervalLiteral, appendIntervalLiteral, appendLockHint, appendUUIDLiteral, applyLocksToSql, augmentPhysicalTableTypes, augmentRecognizedTableTypes, buildLockingClauseStrategy, buildOptimisticForceIncrementStrategy, buildOptimisticStrategy, buildPessimisticForceIncrementStrategy, buildPessimisticReadStrategy, buildPessimisticWriteStrategy, buildReadStrategy, buildStringToBooleanCast, buildStringToBooleanCastDecode, buildStringToBooleanDecode, canBatchTruncate, canDisableConstraints, checkVersion, contribute, contributeFunctions, createOptionalTableUpdateOperation, currentDate, currentLocalTime, currentLocalTimestamp, currentTime, currentTimestampWithTimeZone, defaultScrollMode, determineDatabaseVersion, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, equivalentTypes, escapeComment, forceLobAsLastValue, generatedAs, getAddColumnString, getAddColumnSuffixString, getAggregateSupport, getAlterTableString, getArrayTypeName, getAuxiliaryDatabaseObjectExporter, getBatchLoadSizingStrategy, getBeforeDropStatement, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getCatalogSeparator, getCheckCondition, getCheckCondition, getCheckCondition, getCheckCondition, getCheckCondition, getCheckCondition, getCheckConstraintString, getColumnAliasExtractor, getCreateEnumTypeCommand, getCreateEnumTypeCommand, getCreateIndexString, getCreateIndexTail, getCreateMultisetTableString, getCreateTemporaryTableColumnAnnotation, getCreateUserDefinedTypeExtensionsString, getCreateUserDefinedTypeKindString, getCrossReferenceParentTableFilter, getCurrentSchemaCommand, getDefaultIntervalSecondScale, getDefaultNonContextualLobCreation, getDefaultOrdinalityColumnName, getDefaultProperties, getDefaultStatementBatchSize, getDefaultTimestampPrecision, getDefaultUseGetGeneratedKeys, getDisableConstraintsStatement, getDisableConstraintStatement, getDoublePrecision, getDropEnumTypeCommand, getDropEnumTypeCommand, getDropTableString, getEnableConstraintsStatement, getEnableConstraintStatement, getEnumTypeDeclaration, getFallbackSchemaManagementTool, getForUpdateNowaitString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFromDualForSelectOnly, getGlobalTemporaryTableStrategy, getHqlTranslator, getIndexExporter, getInformationExtractor, getKeywords, getLobMergeStrategy, getLockingClauseStrategy, getLockingStrategy, getLockingStrategy, getLockRowIdentifier, getLowercaseFunction, getMaxNVarcharCapacity, getMaxNVarcharLength, getMaxVarbinaryCapacity, getMaxVarcharCapacity, getMultiKeyLoadSizingStrategy, getNationalizationSupport, getNativeIdentifierGeneratorStrategy, getNativeParameterMarkerStrategy, getNativeValueGenerationStrategy, getNoColumnsInsertString, getNullColumnString, getParameterCountLimit, getPersistentTemporaryTableStrategy, getPessimisticLockStyle, getPreferredSqlTypeCodeForArray, getQueryHintString, getQuerySequencesString, getReadLockString, getReadLockString, getReadLockString, getReadLockString, getReadRowLockStrategy, getResultSet, getResultSet, getRowIdColumnString, getSelectClauseNullString, getSelectClauseNullString, getSequenceInformationExtractor, getSequenceSupport, getSqmTranslatorFactory, getTableCleaner, getTableExporter, getTableMigrator, getTableTypeString, getTemporaryTableCreateOptions, getTemporaryTableDdlTransactionHandling, getTemporaryTableExporter, getTemporaryTableTruncateCommand, getTimeoutInSeconds, getTimeZoneSupport, getTruncateTableStatement, getTruncateTableStatements, getUniqueKeyExporter, getUserDefinedTypeComment, getUserDefinedTypeExporter, getVersion, getWriteLockString, getWriteLockString, getWriteRowLockStrategy, hasAlterTable, hasDataTypeBeforeGeneratedAs, hasSelfReferentialForeignKeyBug, initDefaultProperties, isEmptyStringTreatedAsNull, isLob, ordinal, prependComment, quote, quoteCollation, registerKeyword, registerKeywords, registerResultSetOutParameter, requiresCastForConcatenatingNonStrings, requiresColumnListInCreateView, requiresFloatCastingOfIntegerDivision, requiresParensForTupleCounts, requiresParensForTupleDistinctCounts, resolveSqlTypeCode, resolveSqlTypeCode, rowId, rowIdSqlType, stripsTrailingSpacesFromChar, supportsArrayConstructor, supportsBatchUpdates, supportsBindAsCallableArgument, supportsBindingNullForSetObject, supportsBindingNullSqlTypeForSetNull, supportsBitType, supportsCaseInsensitiveLike, supportsConflictClauseForInsertCTE, supportsCrossJoin, supportsDistinctFromPredicate, supportsDuplicateSelectItemsInQueryGroup, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsFetchClause, supportsFilterClause, supportsForUpdate, supportsFractionalTimestampArithmetic, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsAfterTypeName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTypeName, supportsInsertReturning, supportsInsertReturningGeneratedKeys, supportsInsertReturningRowId, supportsIntersect, supportsJdbcConnectionLobCreation, supportsJoinInMutationStatementSubquery, supportsLateral, supportsLockTimeouts, supportsMaterializedLobAccess, supportsNamedColumnCheck, supportsNamedParameters, supportsNationalizedMethods, supportsNestedWithClause, supportsNoColumnsInsert, supportsNoWait, supportsOrderByInSubquery, supportsOrdinalSelectItemReference, supportsOuterJoinForUpdate, supportsPredicateAsExpression, supportsRecursiveCycleClause, supportsRecursiveCycleUsingClause, supportsRecursiveSearchClause, supportsRefCursors, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowConstructor, supportsRowValueConstructorDistinctFromSyntax, supportsRowValueConstructorGtLtSyntax, supportsRowValueConstructorSyntaxInInSubQuery, supportsSimpleQueryGrouping, supportsSkipLocked, supportsStandardArrays, supportsStandardCurrentTimestampFunction, supportsSubqueryInSelect, supportsSubselectAsInPredicateLHS, supportsTableOptions, supportsTemporalLiteralOffset, supportsTemporaryTablePrimaryKey, supportsTemporaryTables, supportsTruncateWithCast, supportsTupleCounts, supportsTupleDistinctCounts, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, supportsUnionInSubquery, supportsUpdateReturning, supportsUserDefinedTypes, supportsValuesList, supportsValuesListForInsert, supportsWait, supportsWithClause, toBooleanValueString, toQuotedIdentifier, toString, transformSelectString, translateDurationField, translateExtractField, trimPattern, unquoteGetGeneratedKeys, useArrayForMultiValuedParameters, useConnectionToCreateLob, useCrossReferenceForeignKeys, useFollowOnLocking, useInputStreamToInsertBlob
-
Field Details
-
SINGLE_STORE_TABLE_TYPE
Specifies SingleStore explicit table type.- See Also:
- Default Value:
null
-
SINGLE_STORE_FOR_UPDATE_LOCK_ENABLED
Specifies SingleStore FOR UPDATE clause lock enable.- See Also:
- Default Value:
false
-
-
Constructor Details
-
SingleStoreDialect
public SingleStoreDialect() -
SingleStoreDialect
public SingleStoreDialect(org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo info) -
SingleStoreDialect
public SingleStoreDialect(org.hibernate.dialect.DatabaseVersion version, SingleStoreDialect.SingleStoreTableType explicitTableType, boolean isForUpdateLockingEnabled)
-
-
Method Details
-
getMinimumSupportedVersion
protected org.hibernate.dialect.DatabaseVersion getMinimumSupportedVersion()- Overrides:
getMinimumSupportedVersionin classorg.hibernate.dialect.Dialect
-
useMaterializedLobWhenCapacityExceeded
public boolean useMaterializedLobWhenCapacityExceeded()- Overrides:
useMaterializedLobWhenCapacityExceededin classorg.hibernate.dialect.Dialect
-
extractPattern
- Overrides:
extractPatternin classorg.hibernate.dialect.Dialect
-
timestampaddPattern
public String timestampaddPattern(org.hibernate.query.common.TemporalUnit unit, TemporalType temporalType, org.hibernate.query.sqm.IntervalType intervalType) - Overrides:
timestampaddPatternin classorg.hibernate.dialect.Dialect
-
timestampdiffPattern
public String timestampdiffPattern(org.hibernate.query.common.TemporalUnit unit, TemporalType fromTemporalType, TemporalType toTemporalType) - Overrides:
timestampdiffPatternin classorg.hibernate.dialect.Dialect
-
appendDateTimeLiteral
public void appendDateTimeLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone) - Overrides:
appendDateTimeLiteralin classorg.hibernate.dialect.Dialect
-
appendDateTimeLiteral
public void appendDateTimeLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone) - Overrides:
appendDateTimeLiteralin classorg.hibernate.dialect.Dialect
-
appendDateTimeLiteral
public void appendDateTimeLiteral(org.hibernate.sql.ast.spi.SqlAppender appender, Calendar calendar, TemporalType precision, TimeZone jdbcTimeZone) - Overrides:
appendDateTimeLiteralin classorg.hibernate.dialect.Dialect
-
getGroupBySelectItemReferenceStrategy
public org.hibernate.dialect.SelectItemReferenceStrategy getGroupBySelectItemReferenceStrategy()- Overrides:
getGroupBySelectItemReferenceStrategyin classorg.hibernate.dialect.Dialect
-
getEnumTypeDeclaration
-
getQueryHintString
-
getViolatedConstraintNameExtractor
public org.hibernate.exception.spi.ViolatedConstraintNameExtractor getViolatedConstraintNameExtractor()- Specified by:
getViolatedConstraintNameExtractorin interfaceorg.hibernate.exception.spi.ConversionContext- Overrides:
getViolatedConstraintNameExtractorin classorg.hibernate.dialect.Dialect
-
qualifyIndexName
public boolean qualifyIndexName()- Overrides:
qualifyIndexNamein classorg.hibernate.dialect.Dialect
-
registerColumnTypes
protected void registerColumnTypes(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry) - Overrides:
registerColumnTypesin classorg.hibernate.dialect.Dialect
-
initializeFunctionRegistry
public void initializeFunctionRegistry(org.hibernate.boot.model.FunctionContributions functionContributions) - Overrides:
initializeFunctionRegistryin classorg.hibernate.dialect.Dialect
-
getCreateTableString
- Overrides:
getCreateTableStringin classorg.hibernate.dialect.Dialect
-
contributeTypes
public void contributeTypes(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry) - Overrides:
contributeTypesin classorg.hibernate.dialect.Dialect
-
resolveSqlTypeDescriptor
public org.hibernate.type.descriptor.jdbc.JdbcType resolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry jdbcTypeRegistry) - Overrides:
resolveSqlTypeDescriptorin classorg.hibernate.dialect.Dialect
-
columnType
- Overrides:
columnTypein classorg.hibernate.dialect.Dialect
-
castPattern
public String castPattern(org.hibernate.query.sqm.CastType from, org.hibernate.query.sqm.CastType to) - Overrides:
castPatternin classorg.hibernate.dialect.Dialect
-
getPreferredSqlTypeCodeForBoolean
public int getPreferredSqlTypeCodeForBoolean()- Overrides:
getPreferredSqlTypeCodeForBooleanin classorg.hibernate.dialect.Dialect
-
castType
- Overrides:
castTypein classorg.hibernate.dialect.Dialect
-
getSizeStrategy
public org.hibernate.dialect.Dialect.SizeStrategy getSizeStrategy()- Overrides:
getSizeStrategyin classorg.hibernate.dialect.Dialect
-
getFloatPrecision
public int getFloatPrecision()- Overrides:
getFloatPrecisionin classorg.hibernate.dialect.Dialect
-
currentTimestamp
- Overrides:
currentTimestampin classorg.hibernate.dialect.Dialect
-
getFractionalSecondPrecisionInNanos
public long getFractionalSecondPrecisionInNanos()- Overrides:
getFractionalSecondPrecisionInNanosin classorg.hibernate.dialect.Dialect
-
getDefaultLobLength
public long getDefaultLobLength()- Overrides:
getDefaultLobLengthin classorg.hibernate.dialect.Dialect
-
resolveSqlTypeLength
public int resolveSqlTypeLength(String columnTypeName, int jdbcTypeCode, int precision, int scale, int displaySize) - Overrides:
resolveSqlTypeLengthin classorg.hibernate.dialect.Dialect
-
getSqlAstTranslatorFactory
public org.hibernate.sql.ast.SqlAstTranslatorFactory getSqlAstTranslatorFactory()- Overrides:
getSqlAstTranslatorFactoryin classorg.hibernate.dialect.Dialect
-
getSchemaNameResolver
public org.hibernate.engine.jdbc.env.spi.SchemaNameResolver getSchemaNameResolver()- Overrides:
getSchemaNameResolverin classorg.hibernate.dialect.Dialect
-
getInExpressionCountLimit
public int getInExpressionCountLimit()- Overrides:
getInExpressionCountLimitin classorg.hibernate.dialect.Dialect
-
getMaxVarbinaryLength
public int getMaxVarbinaryLength()The biggest size value that can be supplied as argument- Overrides:
getMaxVarbinaryLengthin classorg.hibernate.dialect.Dialect
-
getMaxVarcharLength
public int getMaxVarcharLength()- Overrides:
getMaxVarcharLengthin classorg.hibernate.dialect.Dialect
-
getNullColumnString
-
supportsColumnCheck
public boolean supportsColumnCheck()Feature 'Check constraints' is not supported by SingleStore.- Overrides:
supportsColumnCheckin classorg.hibernate.dialect.Dialect
-
supportsTableCheck
public boolean supportsTableCheck()Feature 'Check constraints' is not supported by SingleStore.- Overrides:
supportsTableCheckin classorg.hibernate.dialect.Dialect
-
getDefaultDecimalPrecision
public int getDefaultDecimalPrecision()- Overrides:
getDefaultDecimalPrecisionin classorg.hibernate.dialect.Dialect
-
doesRoundTemporalOnOverflow
public boolean doesRoundTemporalOnOverflow()- Overrides:
doesRoundTemporalOnOverflowin classorg.hibernate.dialect.Dialect
-
supportsWindowFunctions
public boolean supportsWindowFunctions()- Overrides:
supportsWindowFunctionsin classorg.hibernate.dialect.Dialect
-
supportsRecursiveCTE
public boolean supportsRecursiveCTE()- Overrides:
supportsRecursiveCTEin classorg.hibernate.dialect.Dialect
-
dropConstraints
public boolean dropConstraints()- Overrides:
dropConstraintsin classorg.hibernate.dialect.Dialect
-
appendLiteral
- Overrides:
appendLiteralin classorg.hibernate.dialect.Dialect
-
appendDatetimeFormat
- Overrides:
appendDatetimeFormatin classorg.hibernate.dialect.Dialect
-
datetimeFormat
-
getDropForeignKeyString
- Overrides:
getDropForeignKeyStringin classorg.hibernate.dialect.Dialect
-
getDropUniqueKeyString
- Overrides:
getDropUniqueKeyStringin classorg.hibernate.dialect.Dialect
-
getAlterColumnTypeString
-
supportsAlterColumnType
public boolean supportsAlterColumnType()SingleStore doesn't support modifying column type on columnstore tables. It only supports modifying column type on rowstore table.- Overrides:
supportsAlterColumnTypein classorg.hibernate.dialect.Dialect
-
getLimitHandler
public org.hibernate.dialect.pagination.LimitHandler getLimitHandler()- Overrides:
getLimitHandlerin classorg.hibernate.dialect.Dialect
-
closeQuote
public char closeQuote()- Overrides:
closeQuotein classorg.hibernate.dialect.Dialect
-
openQuote
public char openQuote()- Overrides:
openQuotein classorg.hibernate.dialect.Dialect
-
canCreateCatalog
public boolean canCreateCatalog()- Overrides:
canCreateCatalogin classorg.hibernate.dialect.Dialect
-
getCreateCatalogCommand
-
getDropCatalogCommand
-
canCreateSchema
public boolean canCreateSchema()- Overrides:
canCreateSchemain classorg.hibernate.dialect.Dialect
-
getCreateSchemaCommand
-
getDropSchemaCommand
-
supportsIfExistsBeforeTableName
public boolean supportsIfExistsBeforeTableName()- Overrides:
supportsIfExistsBeforeTableNamein classorg.hibernate.dialect.Dialect
-
getSelectGUIDString
- Overrides:
getSelectGUIDStringin classorg.hibernate.dialect.Dialect
-
supportsCommentOn
public boolean supportsCommentOn()- Overrides:
supportsCommentOnin classorg.hibernate.dialect.Dialect
-
getTableComment
-
getColumnComment
-
getNullOrdering
public org.hibernate.dialect.NullOrdering getNullOrdering()- Overrides:
getNullOrderingin classorg.hibernate.dialect.Dialect
-
getFallbackSqmMutationStrategy
public org.hibernate.query.sqm.mutation.spi.SqmMultiTableMutationStrategy getFallbackSqmMutationStrategy(org.hibernate.metamodel.mapping.EntityMappingType rootEntityDescriptor, org.hibernate.metamodel.spi.RuntimeModelCreationContext runtimeModelCreationContext) - Overrides:
getFallbackSqmMutationStrategyin classorg.hibernate.dialect.Dialect
-
getFallbackSqmInsertStrategy
public org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy getFallbackSqmInsertStrategy(org.hibernate.metamodel.mapping.EntityMappingType rootEntityDescriptor, org.hibernate.metamodel.spi.RuntimeModelCreationContext runtimeModelCreationContext) - Overrides:
getFallbackSqmInsertStrategyin classorg.hibernate.dialect.Dialect
-
getSupportedTemporaryTableKind
public org.hibernate.dialect.temptable.TemporaryTableKind getSupportedTemporaryTableKind()- Overrides:
getSupportedTemporaryTableKindin classorg.hibernate.dialect.Dialect
-
getLocalTemporaryTableStrategy
public org.hibernate.dialect.temptable.TemporaryTableStrategy getLocalTemporaryTableStrategy()- Overrides:
getLocalTemporaryTableStrategyin classorg.hibernate.dialect.Dialect
-
getTemporaryTableCreateCommand
- Overrides:
getTemporaryTableCreateCommandin classorg.hibernate.dialect.Dialect
-
getTemporaryTableDropCommand
- Overrides:
getTemporaryTableDropCommandin classorg.hibernate.dialect.Dialect
-
getTemporaryTableAfterUseAction
public org.hibernate.query.sqm.mutation.spi.AfterUseAction getTemporaryTableAfterUseAction()- Overrides:
getTemporaryTableAfterUseActionin classorg.hibernate.dialect.Dialect
-
getTemporaryTableBeforeUseAction
public org.hibernate.query.sqm.mutation.spi.BeforeUseAction getTemporaryTableBeforeUseAction()- Overrides:
getTemporaryTableBeforeUseActionin classorg.hibernate.dialect.Dialect
-
getMaxAliasLength
public int getMaxAliasLength()- Overrides:
getMaxAliasLengthin classorg.hibernate.dialect.Dialect
-
getMaxIdentifierLength
public int getMaxIdentifierLength()- Overrides:
getMaxIdentifierLengthin classorg.hibernate.dialect.Dialect
-
supportsIsTrue
public boolean supportsIsTrue()- Overrides:
supportsIsTruein classorg.hibernate.dialect.Dialect
-
supportsCurrentTimestampSelection
public boolean supportsCurrentTimestampSelection()- Overrides:
supportsCurrentTimestampSelectionin classorg.hibernate.dialect.Dialect
-
isCurrentTimestampSelectStringCallable
public boolean isCurrentTimestampSelectStringCallable()- Overrides:
isCurrentTimestampSelectStringCallablein classorg.hibernate.dialect.Dialect
-
getCurrentTimestampSelectString
- Overrides:
getCurrentTimestampSelectStringin classorg.hibernate.dialect.Dialect
-
registerResultSetOutParameter
- Overrides:
registerResultSetOutParameterin classorg.hibernate.dialect.Dialect- Throws:
SQLException
-
getResultSet
- Overrides:
getResultSetin classorg.hibernate.dialect.Dialect- Throws:
SQLException
-
supportsNullPrecedence
public boolean supportsNullPrecedence()- Overrides:
supportsNullPrecedencein classorg.hibernate.dialect.Dialect
-
supportsLobValueChangePropagation
public boolean supportsLobValueChangePropagation()- Overrides:
supportsLobValueChangePropagationin classorg.hibernate.dialect.Dialect
-
supportsSubqueryOnMutatingTable
public boolean supportsSubqueryOnMutatingTable()- Overrides:
supportsSubqueryOnMutatingTablein classorg.hibernate.dialect.Dialect
-
getLockingSupport
public org.hibernate.dialect.lock.spi.LockingSupport getLockingSupport()- Overrides:
getLockingSupportin classorg.hibernate.dialect.Dialect
-
buildSQLExceptionConversionDelegate
public org.hibernate.exception.spi.SQLExceptionConversionDelegate buildSQLExceptionConversionDelegate()- Overrides:
buildSQLExceptionConversionDelegatein classorg.hibernate.dialect.Dialect
-
getNameQualifierSupport
public org.hibernate.engine.jdbc.env.spi.NameQualifierSupport getNameQualifierSupport()- Overrides:
getNameQualifierSupportin classorg.hibernate.dialect.Dialect
-
buildIdentifierHelper
public org.hibernate.engine.jdbc.env.spi.IdentifierHelper buildIdentifierHelper(org.hibernate.engine.jdbc.env.spi.IdentifierHelperBuilder builder, DatabaseMetaData metadata) throws SQLException - Overrides:
buildIdentifierHelperin classorg.hibernate.dialect.Dialect- Throws:
SQLException
-
getAddForeignKeyConstraintString
-
getAddForeignKeyConstraintString
-
getAddPrimaryKeyConstraintString
-
getWriteLockString
-
getWriteLockString
-
getForUpdateSkipLockedString
-
getForUpdateNowaitString
-
getForUpdateString
- Overrides:
getForUpdateStringin classorg.hibernate.dialect.Dialect
-
supportsOffsetInSubquery
public boolean supportsOffsetInSubquery()- Overrides:
supportsOffsetInSubqueryin classorg.hibernate.dialect.Dialect
-
supportsPartitionBy
public boolean supportsPartitionBy()- Overrides:
supportsPartitionByin classorg.hibernate.dialect.Dialect
-
registerDefaultKeywords
protected void registerDefaultKeywords()- Overrides:
registerDefaultKeywordsin classorg.hibernate.dialect.Dialect
-
getFunctionalDependencyAnalysisSupport
public org.hibernate.dialect.FunctionalDependencyAnalysisSupport getFunctionalDependencyAnalysisSupport()- Overrides:
getFunctionalDependencyAnalysisSupportin classorg.hibernate.dialect.Dialect
-
getDmlTargetColumnQualifierSupport
public org.hibernate.dialect.DmlTargetColumnQualifierSupport getDmlTargetColumnQualifierSupport()- Overrides:
getDmlTargetColumnQualifierSupportin classorg.hibernate.dialect.Dialect
-
supportsFromClauseInUpdate
public boolean supportsFromClauseInUpdate()- Overrides:
supportsFromClauseInUpdatein classorg.hibernate.dialect.Dialect
-
supportsCircularCascadeDeleteConstraints
public boolean supportsCircularCascadeDeleteConstraints()- Overrides:
supportsCircularCascadeDeleteConstraintsin classorg.hibernate.dialect.Dialect
-
getIdentityColumnSupport
public org.hibernate.dialect.identity.IdentityColumnSupport getIdentityColumnSupport()- Overrides:
getIdentityColumnSupportin classorg.hibernate.dialect.Dialect
-
isJdbcLogWarningsEnabledByDefault
public boolean isJdbcLogWarningsEnabledByDefault()- Overrides:
isJdbcLogWarningsEnabledByDefaultin classorg.hibernate.dialect.Dialect
-
supportsCascadeDelete
public boolean supportsCascadeDelete()- Overrides:
supportsCascadeDeletein classorg.hibernate.dialect.Dialect
-
supportsNonQueryWithCTE
public boolean supportsNonQueryWithCTE()- Overrides:
supportsNonQueryWithCTEin classorg.hibernate.dialect.Dialect
-
getSequenceExporter
public org.hibernate.tool.schema.spi.Exporter<org.hibernate.boot.model.relational.Sequence> getSequenceExporter()- Overrides:
getSequenceExporterin classorg.hibernate.dialect.Dialect
-
getForeignKeyExporter
public org.hibernate.tool.schema.spi.Exporter<org.hibernate.mapping.ForeignKey> getForeignKeyExporter()SingleStore does not support foreign keys and referential integrity- Overrides:
getForeignKeyExporterin classorg.hibernate.dialect.Dialect
-
getUniqueDelegate
public org.hibernate.dialect.unique.UniqueDelegate getUniqueDelegate()- Overrides:
getUniqueDelegatein classorg.hibernate.dialect.Dialect
-
getExplicitTableType
-
isForUpdateLockingEnabled
public boolean isForUpdateLockingEnabled() -
getDual
- Overrides:
getDualin classorg.hibernate.dialect.Dialect
-
supportsJoinsInDelete
public boolean supportsJoinsInDelete()- Overrides:
supportsJoinsInDeletein classorg.hibernate.dialect.Dialect
-
supportsNestedSubqueryCorrelation
public boolean supportsNestedSubqueryCorrelation()- Overrides:
supportsNestedSubqueryCorrelationin classorg.hibernate.dialect.Dialect
-
supportsRowValueConstructorSyntax
public boolean supportsRowValueConstructorSyntax()- Overrides:
supportsRowValueConstructorSyntaxin classorg.hibernate.dialect.Dialect
-
supportsWithClauseInSubquery
public boolean supportsWithClauseInSubquery()- Overrides:
supportsWithClauseInSubqueryin classorg.hibernate.dialect.Dialect
-
supportsRowValueConstructorSyntaxInQuantifiedPredicates
public boolean supportsRowValueConstructorSyntaxInQuantifiedPredicates()- Overrides:
supportsRowValueConstructorSyntaxInQuantifiedPredicatesin classorg.hibernate.dialect.Dialect
-
supportsRowValueConstructorSyntaxInInList
public boolean supportsRowValueConstructorSyntaxInInList()- Overrides:
supportsRowValueConstructorSyntaxInInListin classorg.hibernate.dialect.Dialect
-