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 TransactSQLLocalTemporaryTableStrategy
adjustTemporaryTableName, getTemporaryTableAfterUseAction, getTemporaryTableCreateCommandMethods inherited from class StandardLocalTemporaryTableStrategy
getTemporaryTableBeforeUseAction, getTemporaryTableCreateOptions, getTemporaryTableDropCommand, getTemporaryTableKind, getTemporaryTableTruncateCommandMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TemporaryTableStrategy
supportsTemporaryTableNullConstraint, supportsTemporaryTablePrimaryKey
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SQLServerLocalTemporaryTableStrategy
public SQLServerLocalTemporaryTableStrategy()
-
-
Method Details
-
getCreateTemporaryTableColumnAnnotation
Description copied from interface:TemporaryTableStrategyAnnotation to be appended to the end of each COLUMN clause for temporary tables.- Specified by:
getCreateTemporaryTableColumnAnnotationin interfaceTemporaryTableStrategy- Overrides:
getCreateTemporaryTableColumnAnnotationin classStandardLocalTemporaryTableStrategy- Parameters:
sqlTypeCode- The SQL type code- Returns:
- The annotation to be appended, for example,
COLLATE DATABASE_DEFAULTin SQL Server
-