|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiTableBulkIdStrategy
Generalized strategy contract for handling multi-table bulk HQL operations.
Nested Class Summary | |
---|---|
static interface |
MultiTableBulkIdStrategy.DeleteHandler
Handler for dealing with multi-table HQL bulk delete statements. |
static interface |
MultiTableBulkIdStrategy.UpdateHandler
Handler for dealing with multi-table HQL bulk update statements. |
Method Summary | |
---|---|
MultiTableBulkIdStrategy.DeleteHandler |
buildDeleteHandler(SessionFactoryImplementor factory,
HqlSqlWalker walker)
Build a handler capable of handling the bulk delete indicated by the given walker. |
MultiTableBulkIdStrategy.UpdateHandler |
buildUpdateHandler(SessionFactoryImplementor factory,
HqlSqlWalker walker)
Build a handler capable of handling the bulk update indicated by the given walker. |
void |
prepare(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping,
Map settings)
Prepare the strategy. |
void |
release(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess)
Release the strategy. |
Method Detail |
---|
void prepare(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, Mappings mappings, Mapping mapping, Map settings)
jdbcServices
- The JdbcService objectconnectionAccess
- Access to the JDBC Connectionmappings
- The Hibernate Mappings object, for access to O/RM mapping informationmapping
- The Hibernate Mapping contract, mainly for use in DDL generationsettings
- Configuration settingsvoid release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess)
jdbcServices
- The JdbcService objectconnectionAccess
- Access to the JDBC ConnectionMultiTableBulkIdStrategy.UpdateHandler buildUpdateHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
factory
- The SessionFactorywalker
- The AST walker, representing the update query
MultiTableBulkIdStrategy.DeleteHandler buildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
factory
- The SessionFactorywalker
- The AST walker, representing the delete query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |