public interface MultiTableBulkIdStrategy
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 queryMultiTableBulkIdStrategy.DeleteHandler buildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
factory
- The SessionFactorywalker
- The AST walker, representing the delete queryCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.