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