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