Class LocalTemporaryTableStrategy
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.temptable.LocalTemporaryTableStrategy
-
- Direct Known Subclasses:
LocalTemporaryTableInsertStrategy
,LocalTemporaryTableMutationStrategy
public class LocalTemporaryTableStrategy extends Object
Strategy based on ANSI SQL's definition of a "local temporary table" (local to each db session).
-
-
Field Summary
Fields Modifier and Type Field Description static String
DROP_ID_TABLES
static String
SHORT_NAME
-
Constructor Summary
Constructors Constructor Description LocalTemporaryTableStrategy(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingType
getEntityDescriptor()
SessionFactoryImplementor
getSessionFactory()
TemporaryTable
getTemporaryTable()
boolean
isDropIdTables()
void
prepare(MappingModelCreationProcess mappingModelCreationProcess, JdbcConnectionAccess connectionAccess)
void
release(SessionFactoryImplementor sessionFactory, JdbcConnectionAccess connectionAccess)
-
-
-
Field Detail
-
SHORT_NAME
public static final String SHORT_NAME
- See Also:
- Constant Field Values
-
DROP_ID_TABLES
public static final String DROP_ID_TABLES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LocalTemporaryTableStrategy
public LocalTemporaryTableStrategy(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
prepare
public void prepare(MappingModelCreationProcess mappingModelCreationProcess, JdbcConnectionAccess connectionAccess)
-
release
public void release(SessionFactoryImplementor sessionFactory, JdbcConnectionAccess connectionAccess)
-
getTemporaryTable
public TemporaryTable getTemporaryTable()
-
getEntityDescriptor
public EntityMappingType getEntityDescriptor()
-
isDropIdTables
public boolean isDropIdTables()
-
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
-
-