public class TableBasedDeleteHandlerImpl extends AbstractTableBasedBulkIdHandler implements MultiTableBulkIdStrategy.DeleteHandler
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
Constructor and Description |
---|
TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory,
HqlSqlWalker walker) |
TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory,
HqlSqlWalker walker,
String catalog,
String schema) |
Modifier and Type | Method and Description |
---|---|
int |
execute(SessionImplementor session,
QueryParameters queryParameters) |
String[] |
getSqlStatements() |
Queryable |
getTargetedQueryable() |
protected void |
handleAddedParametersOnDelete(PreparedStatement ps,
SessionImplementor session) |
protected int |
handlePrependedParametersOnIdSelection(PreparedStatement ps,
SessionImplementor session,
int pos) |
addAnyExtraIdSelectValues, convert, determineIdTableName, factory, generateIdInsertSelect, generateIdSubselect, prepareForUse, processWhereClause, releaseFromUse, walker
public TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory, HqlSqlWalker walker)
public TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory, HqlSqlWalker walker, String catalog, String schema)
public Queryable getTargetedQueryable()
getTargetedQueryable
in interface MultiTableBulkIdStrategy.DeleteHandler
public String[] getSqlStatements()
getSqlStatements
in interface MultiTableBulkIdStrategy.DeleteHandler
public int execute(SessionImplementor session, QueryParameters queryParameters)
execute
in interface MultiTableBulkIdStrategy.DeleteHandler
protected int handlePrependedParametersOnIdSelection(PreparedStatement ps, SessionImplementor session, int pos) throws SQLException
SQLException
protected void handleAddedParametersOnDelete(PreparedStatement ps, SessionImplementor session) throws SQLException
SQLException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.