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(SessionImplementor session,
QueryParameters queryParameters) |
java.lang.String[] |
getSqlStatements() |
Queryable |
getTargetedQueryable() |
protected void |
handleAddedParametersOnUpdate(java.sql.PreparedStatement ps,
SessionImplementor session,
int position) |
protected int |
handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps,
SessionImplementor session,
int pos) |
addAnyExtraIdSelectValues, convert, factory, generateIdInsertSelect, 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 java.lang.String[] getSqlStatements()
getSqlStatements
in interface MultiTableBulkIdStrategy.UpdateHandler
public int execute(SessionImplementor session, QueryParameters queryParameters)
execute
in interface MultiTableBulkIdStrategy.UpdateHandler
protected int handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SessionImplementor session, int pos) throws java.sql.SQLException
java.sql.SQLException
protected void handleAddedParametersOnUpdate(java.sql.PreparedStatement ps, SessionImplementor session, int position) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.