Class PersistentTableStrategy
java.lang.Object
org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableStrategy
- Direct Known Subclasses:
PersistentTableInsertStrategy
,PersistentTableMutationStrategy
This is a strategy that mimics temporary tables for databases which do not support
temporary tables. It follows a pattern similar to the ANSI SQL definition of global
temporary table using a "session id" column to segment rows from the various sessions.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPersistentTableStrategy
(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
prepare
(MappingModelCreationProcess mappingModelCreationProcess, JdbcConnectionAccess connectionAccess) void
release
(SessionFactoryImplementor sessionFactory, JdbcConnectionAccess connectionAccess)
-
Field Details
-
SHORT_NAME
- See Also:
-
CREATE_ID_TABLES
- See Also:
-
DROP_ID_TABLES
- See Also:
-
SCHEMA
- See Also:
-
CATALOG
- See Also:
-
-
Constructor Details
-
PersistentTableStrategy
public PersistentTableStrategy(TemporaryTable temporaryTable, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getEntityDescriptor
-
prepare
public void prepare(MappingModelCreationProcess mappingModelCreationProcess, JdbcConnectionAccess connectionAccess) -
release
public void release(SessionFactoryImplementor sessionFactory, JdbcConnectionAccess connectionAccess) -
getTemporaryTable
-
getSessionFactory
-