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, ornull
if 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.boolean
Deprecated, 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, wait
Methods 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:TemporaryTableStrategy
Returns an adjusted table name that can be used for temporary tables.- Specified by:
adjustTemporaryTableName
in interfaceTemporaryTableStrategy
-
getTemporaryTableKind
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
The kind of temporary tables that are supported on this database.- Specified by:
getTemporaryTableKind
in interfaceTemporaryTableStrategy
-
getTemporaryTableCreateOptions
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
An arbitrary SQL fragment appended to the end of the statement to create a temporary table, specifying dialect-specific options, ornull
if there are no options to specify.- Specified by:
getTemporaryTableCreateOptions
in interfaceTemporaryTableStrategy
-
getTemporaryTableCreateCommand
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
The command to create a temporary table.- Specified by:
getTemporaryTableCreateCommand
in interfaceTemporaryTableStrategy
-
getTemporaryTableDropCommand
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
The command to drop a temporary table.- Specified by:
getTemporaryTableDropCommand
in interfaceTemporaryTableStrategy
-
getTemporaryTableTruncateCommand
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
The command to truncate a temporary table.- Specified by:
getTemporaryTableTruncateCommand
in interfaceTemporaryTableStrategy
-
getCreateTemporaryTableColumnAnnotation
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
Annotation to be appended to the end of each COLUMN clause for temporary tables.- Specified by:
getCreateTemporaryTableColumnAnnotation
in interfaceTemporaryTableStrategy
- Parameters:
sqlTypeCode
- The SQL type code- Returns:
- The annotation to be appended, for example,
COLLATE DATABASE_DEFAULT
in SQL Server
-
getTemporaryTableAfterUseAction
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
The action to take after finishing use of a temporary table.- Specified by:
getTemporaryTableAfterUseAction
in interfaceTemporaryTableStrategy
-
getTemporaryTableBeforeUseAction
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
The action to take before beginning use of a temporary table.- Specified by:
getTemporaryTableBeforeUseAction
in interfaceTemporaryTableStrategy
-
supportsTemporaryTablePrimaryKey
public boolean supportsTemporaryTablePrimaryKey()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:TemporaryTableStrategy
Does this database support primary keys for temporary tables for this strategy?- Specified by:
supportsTemporaryTablePrimaryKey
in interfaceTemporaryTableStrategy
- Returns:
- true by default, since most do
-