public class TableBasedUpdateHandlerImpl extends AbstractTableBasedBulkIdHandler implements MultiTableBulkIdStrategy.UpdateHandler
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
Constructor and Description |
---|
TableBasedUpdateHandlerImpl(SessionFactoryImplementor factory,
HqlSqlWalker walker) |
TableBasedUpdateHandlerImpl(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 |
handleAddedParametersOnUpdate(PreparedStatement ps,
SessionImplementor session,
int position) |
protected int |
handlePrependedParametersOnIdSelection(PreparedStatement ps,
SessionImplementor session,
int pos) |
addAnyExtraIdSelectValues, convert, determineIdTableName, factory, generateIdInsertSelect, generateIdSubselect, prepareForUse, processWhereClause, releaseFromUse, walker
public TableBasedUpdateHandlerImpl(SessionFactoryImplementor factory, HqlSqlWalker walker)
public TableBasedUpdateHandlerImpl(SessionFactoryImplementor factory, HqlSqlWalker walker, String catalog, String schema)
public Queryable getTargetedQueryable()
getTargetedQueryable
in interface MultiTableBulkIdStrategy.UpdateHandler
public String[] getSqlStatements()
getSqlStatements
in interface MultiTableBulkIdStrategy.UpdateHandler
public int execute(SessionImplementor session, QueryParameters queryParameters)
execute
in interface MultiTableBulkIdStrategy.UpdateHandler
protected int handlePrependedParametersOnIdSelection(PreparedStatement ps, SessionImplementor session, int pos) throws SQLException
SQLException
protected void handleAddedParametersOnUpdate(PreparedStatement ps, SessionImplementor session, int position) throws SQLException
SQLException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.