public class DeleteHandlerImpl extends TableBasedDeleteHandlerImpl
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
Constructor and Description |
---|
DeleteHandlerImpl(SessionFactoryImplementor factory,
org.hibernate.hql.internal.ast.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,
AbstractCollectionPersister cPersister,
IdTableInfo idTableInfo) |
protected String |
generateIdSubselect(Queryable persister,
IdTableInfo idTableInfo) |
protected void |
handleAddedParametersOnDelete(PreparedStatement ps,
SharedSessionContractImplementor session) |
protected int |
handlePrependedParametersOnIdSelection(PreparedStatement ps,
SharedSessionContractImplementor session,
int pos) |
protected void |
releaseFromUse(Queryable persister,
SharedSessionContractImplementor session) |
execute, getSqlStatements, getTargetedQueryable
appendJoined, factory, generateIdInsertSelect, generateIdSelect, getKeyColumnNames, prepareForUse, processWhereClause, walker
public DeleteHandlerImpl(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.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 String generateIdSubselect(Queryable persister, AbstractCollectionPersister cPersister, IdTableInfo idTableInfo)
generateIdSubselect
in class AbstractTableBasedBulkIdHandler
protected int handlePrependedParametersOnIdSelection(PreparedStatement ps, SharedSessionContractImplementor session, int pos) throws SQLException
handlePrependedParametersOnIdSelection
in class TableBasedDeleteHandlerImpl
SQLException
protected void handleAddedParametersOnDelete(PreparedStatement ps, SharedSessionContractImplementor session) throws SQLException
handleAddedParametersOnDelete
in class TableBasedDeleteHandlerImpl
SQLException
protected void releaseFromUse(Queryable persister, SharedSessionContractImplementor session)
releaseFromUse
in class AbstractTableBasedBulkIdHandler
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.