Class DB2GlobalTemporaryTableStrategy
java.lang.Object
org.hibernate.dialect.temptable.StandardGlobalTemporaryTableStrategy
org.hibernate.dialect.temptable.DB2GlobalTemporaryTableStrategy
- All Implemented Interfaces:
TemporaryTableStrategy
DB2 specific global temporary table strategy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAn 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 primary keys for temporary tables for this strategy?Methods inherited from class StandardGlobalTemporaryTableStrategy
adjustTemporaryTableName, getCreateTemporaryTableColumnAnnotation, getTemporaryTableAfterUseAction, getTemporaryTableBeforeUseAction, getTemporaryTableCreateCommand, getTemporaryTableDropCommand, getTemporaryTableKind, getTemporaryTableTruncateCommandMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TemporaryTableStrategy
supportsTemporaryTableNullConstraint
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DB2GlobalTemporaryTableStrategy
public DB2GlobalTemporaryTableStrategy()
-
-
Method Details
-
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 classStandardGlobalTemporaryTableStrategy
-
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
-