Package org.hibernate.dialect.temptable
Class OracleLocalTemporaryTableStrategy
java.lang.Object
org.hibernate.dialect.temptable.StandardLocalTemporaryTableStrategy
org.hibernate.dialect.temptable.OracleLocalTemporaryTableStrategy
- All Implemented Interfaces:
TemporaryTableStrategy
Strategy to interact with Oracle private temporary tables that were introduced in Oracle 18c.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustTemporaryTableName(String desiredTableName) Returns an adjusted table name that can be used for temporary tables.The command to create a temporary table.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.booleanDoes this database support null constraints for temporary table columns for this strategy?booleanDoes this database support primary keys for temporary tables for this strategy?Methods inherited from class org.hibernate.dialect.temptable.StandardLocalTemporaryTableStrategy
getCreateTemporaryTableColumnAnnotation, getTemporaryTableAfterUseAction, getTemporaryTableBeforeUseAction, getTemporaryTableDropCommand, getTemporaryTableKind, getTemporaryTableTruncateCommand
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
OracleLocalTemporaryTableStrategy
public OracleLocalTemporaryTableStrategy()
-
-
Method Details
-
adjustTemporaryTableName
Description copied from interface:TemporaryTableStrategyReturns an adjusted table name that can be used for temporary tables.- Specified by:
adjustTemporaryTableNamein interfaceTemporaryTableStrategy- Overrides:
adjustTemporaryTableNamein classStandardLocalTemporaryTableStrategy
-
getTemporaryTableCreateOptions
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- Overrides:
getTemporaryTableCreateOptionsin classStandardLocalTemporaryTableStrategy
-
getTemporaryTableCreateCommand
Description copied from interface:TemporaryTableStrategyThe command to create a temporary table.- Specified by:
getTemporaryTableCreateCommandin interfaceTemporaryTableStrategy- Overrides:
getTemporaryTableCreateCommandin classStandardLocalTemporaryTableStrategy
-
supportsTemporaryTablePrimaryKey
public boolean supportsTemporaryTablePrimaryKey()Description copied from interface:TemporaryTableStrategyDoes this database support primary keys for temporary tables for this strategy?- Returns:
- true by default, since most do
-
supportsTemporaryTableNullConstraint
public boolean supportsTemporaryTableNullConstraint()Description copied from interface:TemporaryTableStrategyDoes this database support null constraints for temporary table columns for this strategy?- Returns:
- true by default, since most do
-