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 java.lang.String |
generateIdSubselect(Queryable persister,
IdTableInfo idTableInfo) |
protected void |
handleAddedParametersOnUpdate(java.sql.PreparedStatement ps,
SessionImplementor session,
int position) |
protected int |
handlePrependedParametersOnIdSelection(java.sql.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 java.lang.String generateIdSubselect(Queryable persister, IdTableInfo idTableInfo)
generateIdSubselect
in class AbstractTableBasedBulkIdHandler
protected int handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SessionImplementor session, int pos) throws java.sql.SQLException
handlePrependedParametersOnIdSelection
in class TableBasedUpdateHandlerImpl
java.sql.SQLException
protected void handleAddedParametersOnUpdate(java.sql.PreparedStatement ps, SessionImplementor session, int position) throws java.sql.SQLException
handleAddedParametersOnUpdate
in class TableBasedUpdateHandlerImpl
java.sql.SQLException
protected void releaseFromUse(Queryable persister, SessionImplementor session)
releaseFromUse
in class AbstractTableBasedBulkIdHandler
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.