public class DeleteHandlerImpl extends TableBasedDeleteHandlerImpl
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
Constructor and Description |
---|
DeleteHandlerImpl(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 |
handleAddedParametersOnDelete(PreparedStatement ps,
SessionImplementor session) |
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 DeleteHandlerImpl(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 TableBasedDeleteHandlerImpl
SQLException
protected void handleAddedParametersOnDelete(PreparedStatement ps, SessionImplementor session) throws SQLException
handleAddedParametersOnDelete
in class TableBasedDeleteHandlerImpl
SQLException
protected void releaseFromUse(Queryable persister, SessionImplementor session)
releaseFromUse
in class AbstractTableBasedBulkIdHandler
Copyright © 2017 JBoss by Red Hat. All rights reserved.