public class UpdateHandlerImpl extends TableBasedUpdateHandlerImpl
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
Constructor and Description |
---|
UpdateHandlerImpl(SessionFactoryImplementor factory,
HqlSqlWalker walker,
IdTableInfo idTableInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAnyExtraIdSelectValues(SelectValues selectClause)
Used from
AbstractTableBasedBulkIdHandler.generateIdInsertSelect(java.lang.String, org.hibernate.hql.spi.id.IdTableInfo, org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler.ProcessedWhereClause) to allow subclasses to define any extra
values to be selected (and therefore stored into the bulk-id table). |
protected String |
generateIdSubselect(Queryable persister,
IdTableInfo idTableInfo) |
protected void |
handleAddedParametersOnUpdate(PreparedStatement ps,
SessionImplementor session,
int position) |
protected int |
handlePrependedParametersOnIdSelection(PreparedStatement ps,
SessionImplementor session,
int pos) |
protected void |
releaseFromUse(Queryable persister,
SessionImplementor session) |
execute, getSqlStatements, getTargetedQueryable
convert, factory, generateIdInsertSelect, prepareForUse, processWhereClause, walker
public UpdateHandlerImpl(SessionFactoryImplementor factory, HqlSqlWalker walker, IdTableInfo idTableInfo)
protected void addAnyExtraIdSelectValues(SelectValues selectClause)
AbstractTableBasedBulkIdHandler
AbstractTableBasedBulkIdHandler.generateIdInsertSelect(java.lang.String, org.hibernate.hql.spi.id.IdTableInfo, org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler.ProcessedWhereClause)
to allow subclasses to define any extra
values to be selected (and therefore stored into the bulk-id table). Used to store
session identifier, e.g.addAnyExtraIdSelectValues
in class AbstractTableBasedBulkIdHandler
selectClause
- The SelectValues that defines the select clause of the insert statement.protected String generateIdSubselect(Queryable persister, IdTableInfo idTableInfo)
generateIdSubselect
in class AbstractTableBasedBulkIdHandler
protected int handlePrependedParametersOnIdSelection(PreparedStatement ps, SessionImplementor session, int pos) throws SQLException
handlePrependedParametersOnIdSelection
in class TableBasedUpdateHandlerImpl
SQLException
protected void handleAddedParametersOnUpdate(PreparedStatement ps, SessionImplementor session, int position) throws SQLException
handleAddedParametersOnUpdate
in class TableBasedUpdateHandlerImpl
SQLException
protected void releaseFromUse(Queryable persister, SessionImplementor session)
releaseFromUse
in class AbstractTableBasedBulkIdHandler
Copyright © 2017 JBoss by Red Hat. All rights reserved.