Class GlobalTemporaryTableStrategy
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.temptable.GlobalTemporaryTableStrategy
-
- Direct Known Subclasses:
GlobalTemporaryTableInsertStrategy
,GlobalTemporaryTableMutationStrategy
public class GlobalTemporaryTableStrategy extends Object
Strategy based on ANSI SQL's definition of a "global temporary table".
-
-
Field Summary
Fields Modifier and Type Field Description static String
CREATE_ID_TABLES
static String
DROP_ID_TABLES
static String
SHORT_NAME
-
Constructor Summary
Constructors Constructor Description GlobalTemporaryTableStrategy(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingType
getEntityDescriptor()
SessionFactoryImplementor
getSessionFactory()
TemporaryTable
getTemporaryTable()
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
-
CREATE_ID_TABLES
public static final String CREATE_ID_TABLES
- See Also:
- Constant Field Values
-
DROP_ID_TABLES
public static final String DROP_ID_TABLES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GlobalTemporaryTableStrategy
public GlobalTemporaryTableStrategy(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getEntityDescriptor
public EntityMappingType getEntityDescriptor()
-
prepare
public void prepare(MappingModelCreationProcess mappingModelCreationProcess, JdbcConnectionAccess connectionAccess)
-
release
public void release(SessionFactoryImplementor sessionFactory, JdbcConnectionAccess connectionAccess)
-
getTemporaryTable
public TemporaryTable getTemporaryTable()
-
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
-
-