Class DeleteHandlerImpl
- java.lang.Object
-
- org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler
-
- org.hibernate.hql.spi.id.TableBasedDeleteHandlerImpl
-
- org.hibernate.hql.spi.id.persistent.DeleteHandlerImpl
-
- All Implemented Interfaces:
MultiTableBulkIdStrategy.DeleteHandler
public class DeleteHandlerImpl extends TableBasedDeleteHandlerImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
-
-
Constructor Summary
Constructors Constructor Description DeleteHandlerImpl(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.HqlSqlWalker walker, IdTableInfo idTableInfo)
-
Method Summary
-
Methods inherited from class org.hibernate.hql.spi.id.TableBasedDeleteHandlerImpl
execute, getSqlStatements, getTargetedQueryable
-
Methods inherited from class org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler
appendJoined, factory, generateIdInsertSelect, generateIdSelect, getKeyColumnNames, prepareForUse, processWhereClause, walker
-
-
-
-
Constructor Detail
-
DeleteHandlerImpl
public DeleteHandlerImpl(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.HqlSqlWalker walker, IdTableInfo idTableInfo)
-
-
Method Detail
-
addAnyExtraIdSelectValues
protected void addAnyExtraIdSelectValues(SelectValues selectClause)
Description copied from class:AbstractTableBasedBulkIdHandlerUsed fromAbstractTableBasedBulkIdHandler.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.- Overrides:
addAnyExtraIdSelectValuesin classAbstractTableBasedBulkIdHandler- Parameters:
selectClause- The SelectValues that defines the select clause of the insert statement.
-
generateIdSubselect
protected java.lang.String generateIdSubselect(Queryable persister, IdTableInfo idTableInfo)
- Overrides:
generateIdSubselectin classAbstractTableBasedBulkIdHandler
-
generateIdSubselect
protected java.lang.String generateIdSubselect(Queryable persister, AbstractCollectionPersister cPersister, IdTableInfo idTableInfo)
- Overrides:
generateIdSubselectin classAbstractTableBasedBulkIdHandler
-
handlePrependedParametersOnIdSelection
protected int handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos) throws java.sql.SQLException- Overrides:
handlePrependedParametersOnIdSelectionin classTableBasedDeleteHandlerImpl- Throws:
java.sql.SQLException
-
handleAddedParametersOnDelete
protected void handleAddedParametersOnDelete(java.sql.PreparedStatement ps, SharedSessionContractImplementor session) throws java.sql.SQLException- Overrides:
handleAddedParametersOnDeletein classTableBasedDeleteHandlerImpl- Throws:
java.sql.SQLException
-
releaseFromUse
protected void releaseFromUse(Queryable persister, SharedSessionContractImplementor session)
- Overrides:
releaseFromUsein classAbstractTableBasedBulkIdHandler
-
-