public class PersistentTableBulkIdStrategy extends Object implements MultiTableBulkIdStrategy
MultiTableBulkIdStrategy.DeleteHandler, MultiTableBulkIdStrategy.UpdateHandler| Modifier and Type | Field and Description | 
|---|---|
static String | 
CATALOG  | 
static String | 
CLEAN_UP_ID_TABLES  | 
static String | 
SCHEMA  | 
static String | 
SHORT_NAME  | 
| Constructor and Description | 
|---|
PersistentTableBulkIdStrategy()  | 
| 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. 
 | 
protected JDBCException | 
convert(SessionFactoryImplementor factory,
       SQLException e,
       String message,
       String sql)  | 
protected void | 
exportTableDefinitions(List<Table> idTableDefinitions,
                      JdbcServices jdbcServices,
                      JdbcConnectionAccess connectionAccess,
                      Mappings mappings,
                      Mapping mapping)  | 
protected Table | 
generateIdTableDefinition(PersistentClass entityMapping)  | 
void | 
prepare(JdbcServices jdbcServices,
       JdbcConnectionAccess connectionAccess,
       Mappings mappings,
       Mapping mapping,
       Map settings)
Prepare the strategy. 
 | 
void | 
release(JdbcServices jdbcServices,
       JdbcConnectionAccess connectionAccess)
Release the strategy. 
 | 
public static final String SHORT_NAME
public static final String CLEAN_UP_ID_TABLES
public static final String SCHEMA
public static final String CATALOG
public void prepare(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, Mappings mappings, Mapping mapping, Map settings)
MultiTableBulkIdStrategyprepare in interface MultiTableBulkIdStrategyjdbcServices - 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 settingsprotected Table generateIdTableDefinition(PersistentClass entityMapping)
protected void exportTableDefinitions(List<Table> idTableDefinitions, JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, Mappings mappings, Mapping mapping)
public void release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess)
MultiTableBulkIdStrategyrelease in interface MultiTableBulkIdStrategyjdbcServices - The JdbcService objectconnectionAccess - Access to the JDBC Connectionpublic MultiTableBulkIdStrategy.UpdateHandler buildUpdateHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
MultiTableBulkIdStrategybuildUpdateHandler in interface MultiTableBulkIdStrategyfactory - The SessionFactorywalker - The AST walker, representing the update queryprotected JDBCException convert(SessionFactoryImplementor factory, SQLException e, String message, String sql)
public MultiTableBulkIdStrategy.DeleteHandler buildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
MultiTableBulkIdStrategybuildDeleteHandler in interface MultiTableBulkIdStrategyfactory - The SessionFactorywalker - The AST walker, representing the delete queryCopyright © 2018 JBoss by Red Hat. All rights reserved.