public class TableBasedDeleteHandlerImpl extends AbstractTableBasedBulkIdHandler implements MultiTableBulkIdStrategy.DeleteHandler
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
Constructor and Description |
---|
TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory,
HqlSqlWalker walker,
IdTableInfo idTableInfo) |
Modifier and Type | Method and Description |
---|---|
int |
execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
String[] |
getSqlStatements() |
Queryable |
getTargetedQueryable() |
protected void |
handleAddedParametersOnDelete(PreparedStatement ps,
SharedSessionContractImplementor session) |
protected int |
handlePrependedParametersOnIdSelection(PreparedStatement ps,
SharedSessionContractImplementor session,
int pos) |
addAnyExtraIdSelectValues, factory, generateIdInsertSelect, generateIdSelect, generateIdSubselect, prepareForUse, processWhereClause, releaseFromUse, walker
public TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory, HqlSqlWalker walker, IdTableInfo idTableInfo)
public Queryable getTargetedQueryable()
getTargetedQueryable
in interface MultiTableBulkIdStrategy.DeleteHandler
getTargetedQueryable
in class AbstractTableBasedBulkIdHandler
public String[] getSqlStatements()
getSqlStatements
in interface MultiTableBulkIdStrategy.DeleteHandler
public int execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
execute
in interface MultiTableBulkIdStrategy.DeleteHandler
protected int handlePrependedParametersOnIdSelection(PreparedStatement ps, SharedSessionContractImplementor session, int pos) throws SQLException
SQLException
protected void handleAddedParametersOnDelete(PreparedStatement ps, SharedSessionContractImplementor session) throws SQLException
SQLException
Copyright © 2019 JBoss by Red Hat. All rights reserved.