Package org.hibernate.dialect.temptable
Class SQLServerLocalTemporaryTableStrategy
java.lang.Object
org.hibernate.dialect.temptable.StandardLocalTemporaryTableStrategy
org.hibernate.dialect.temptable.TransactSQLLocalTemporaryTableStrategy
org.hibernate.dialect.temptable.SQLServerLocalTemporaryTableStrategy
- All Implemented Interfaces:
TemporaryTableStrategy
SQL Server specific local temporary table strategy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCreateTemporaryTableColumnAnnotation
(int sqlTypeCode) Annotation to be appended to the end of each COLUMN clause for temporary tables.Methods inherited from class org.hibernate.dialect.temptable.TransactSQLLocalTemporaryTableStrategy
adjustTemporaryTableName, getTemporaryTableAfterUseAction, getTemporaryTableCreateCommand
Methods inherited from class org.hibernate.dialect.temptable.StandardLocalTemporaryTableStrategy
getTemporaryTableBeforeUseAction, getTemporaryTableCreateOptions, getTemporaryTableDropCommand, getTemporaryTableKind, getTemporaryTableTruncateCommand
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, supportsTemporaryTablePrimaryKey
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SQLServerLocalTemporaryTableStrategy
public SQLServerLocalTemporaryTableStrategy()
-
-
Method Details
-
getCreateTemporaryTableColumnAnnotation
Description copied from interface:TemporaryTableStrategy
Annotation to be appended to the end of each COLUMN clause for temporary tables.- Specified by:
getCreateTemporaryTableColumnAnnotation
in interfaceTemporaryTableStrategy
- Overrides:
getCreateTemporaryTableColumnAnnotation
in classStandardLocalTemporaryTableStrategy
- Parameters:
sqlTypeCode
- The SQL type code- Returns:
- The annotation to be appended, for example,
COLLATE DATABASE_DEFAULT
in SQL Server
-