Package org.hibernate.dialect.temptable
Class LegacyTemporaryTableStrategy
java.lang.Object
org.hibernate.dialect.temptable.LegacyTemporaryTableStrategy
- All Implemented Interfaces:
TemporaryTableStrategy
@Deprecated(forRemoval=true,
since="7.1")
public class LegacyTemporaryTableStrategy
extends Object
implements TemporaryTableStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
Legacy strategy that delegates to deprecated Dialect methods.
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyTemporaryTableStrategy(Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionadjustTemporaryTableName(String desiredTableName) Deprecated, for removal: This API element is subject to removal in a future version.Returns an adjusted table name that can be used for temporary tables.getCreateTemporaryTableColumnAnnotation(int sqlTypeCode) Deprecated, for removal: This API element is subject to removal in a future version.Annotation to be appended to the end of each COLUMN clause for temporary tables.Deprecated, for removal: This API element is subject to removal in a future version.The action to take after finishing use of a temporary table.Deprecated, for removal: This API element is subject to removal in a future version.The action to take before beginning use of a temporary table.Deprecated, for removal: This API element is subject to removal in a future version.The command to create a temporary table.Deprecated, for removal: This API element is subject to removal in a future version.An arbitrary SQL fragment appended to the end of the statement to create a temporary table, specifying dialect-specific options, ornullif there are no options to specify.Deprecated, for removal: This API element is subject to removal in a future version.The command to drop a temporary table.Deprecated, for removal: This API element is subject to removal in a future version.The kind of temporary tables that are supported on this database.Deprecated, for removal: This API element is subject to removal in a future version.The command to truncate a temporary table.booleanDeprecated, for removal: This API element is subject to removal in a future version.Does this database support primary keys for temporary tables for this strategy?Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.dialect.temptable.TemporaryTableStrategy
supportsTemporaryTableNullConstraint
-
Constructor Details
-
LegacyTemporaryTableStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
adjustTemporaryTableName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyReturns an adjusted table name that can be used for temporary tables.- Specified by:
adjustTemporaryTableNamein interfaceTemporaryTableStrategy
-
getTemporaryTableKind
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyThe kind of temporary tables that are supported on this database.- Specified by:
getTemporaryTableKindin interfaceTemporaryTableStrategy
-
getTemporaryTableCreateOptions
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyAn arbitrary SQL fragment appended to the end of the statement to create a temporary table, specifying dialect-specific options, ornullif there are no options to specify.- Specified by:
getTemporaryTableCreateOptionsin interfaceTemporaryTableStrategy
-
getTemporaryTableCreateCommand
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyThe command to create a temporary table.- Specified by:
getTemporaryTableCreateCommandin interfaceTemporaryTableStrategy
-
getTemporaryTableDropCommand
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyThe command to drop a temporary table.- Specified by:
getTemporaryTableDropCommandin interfaceTemporaryTableStrategy
-
getTemporaryTableTruncateCommand
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyThe command to truncate a temporary table.- Specified by:
getTemporaryTableTruncateCommandin interfaceTemporaryTableStrategy
-
getCreateTemporaryTableColumnAnnotation
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyAnnotation to be appended to the end of each COLUMN clause for temporary tables.- Specified by:
getCreateTemporaryTableColumnAnnotationin interfaceTemporaryTableStrategy- Parameters:
sqlTypeCode- The SQL type code- Returns:
- The annotation to be appended, for example,
COLLATE DATABASE_DEFAULTin SQL Server
-
getTemporaryTableAfterUseAction
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyThe action to take after finishing use of a temporary table.- Specified by:
getTemporaryTableAfterUseActionin interfaceTemporaryTableStrategy
-
getTemporaryTableBeforeUseAction
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyThe action to take before beginning use of a temporary table.- Specified by:
getTemporaryTableBeforeUseActionin interfaceTemporaryTableStrategy
-
supportsTemporaryTablePrimaryKey
public boolean supportsTemporaryTablePrimaryKey()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategyDoes this database support primary keys for temporary tables for this strategy?- Specified by:
supportsTemporaryTablePrimaryKeyin interfaceTemporaryTableStrategy- Returns:
- true by default, since most do
-