Package org.hibernate.hql.spi.id
Class TableBasedDeleteHandlerImpl
- java.lang.Object
-
- org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler
-
- org.hibernate.hql.spi.id.TableBasedDeleteHandlerImpl
-
- All Implemented Interfaces:
MultiTableBulkIdStrategy.DeleteHandler
- Direct Known Subclasses:
DeleteHandlerImpl
public class TableBasedDeleteHandlerImpl extends AbstractTableBasedBulkIdHandler implements MultiTableBulkIdStrategy.DeleteHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler
AbstractTableBasedBulkIdHandler.ProcessedWhereClause
-
-
Constructor Summary
Constructors Constructor Description TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.HqlSqlWalker walker, IdTableInfo idTableInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute(SharedSessionContractImplementor session, QueryParameters queryParameters)java.lang.String[]getSqlStatements()QueryablegetTargetedQueryable()protected voidhandleAddedParametersOnDelete(java.sql.PreparedStatement ps, SharedSessionContractImplementor session)protected inthandlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos)-
Methods inherited from class org.hibernate.hql.spi.id.AbstractTableBasedBulkIdHandler
addAnyExtraIdSelectValues, appendJoined, factory, generateIdInsertSelect, generateIdSelect, generateIdSubselect, generateIdSubselect, getKeyColumnNames, prepareForUse, processWhereClause, releaseFromUse, walker
-
-
-
-
Constructor Detail
-
TableBasedDeleteHandlerImpl
public TableBasedDeleteHandlerImpl(SessionFactoryImplementor factory, org.hibernate.hql.internal.ast.HqlSqlWalker walker, IdTableInfo idTableInfo)
-
-
Method Detail
-
getTargetedQueryable
public Queryable getTargetedQueryable()
- Specified by:
getTargetedQueryablein interfaceMultiTableBulkIdStrategy.DeleteHandler- Specified by:
getTargetedQueryablein classAbstractTableBasedBulkIdHandler
-
getSqlStatements
public java.lang.String[] getSqlStatements()
- Specified by:
getSqlStatementsin interfaceMultiTableBulkIdStrategy.DeleteHandler
-
execute
public int execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
- Specified by:
executein interfaceMultiTableBulkIdStrategy.DeleteHandler
-
handlePrependedParametersOnIdSelection
protected int handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
handleAddedParametersOnDelete
protected void handleAddedParametersOnDelete(java.sql.PreparedStatement ps, SharedSessionContractImplementor session) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-