Uses of Class
org.eclipse.persistence.internal.expressions.SQLDeleteStatement
Packages that use SQLDeleteStatement
Package
Description
-
Uses of SQLDeleteStatement in org.eclipse.persistence.internal.expressions
Subclasses of SQLDeleteStatement in org.eclipse.persistence.internal.expressionsModifier and TypeClassDescriptionclassPurpose: Print DELETE statement with non trivial WHERE clause -
Uses of SQLDeleteStatement in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries that return SQLDeleteStatementModifier and TypeMethodDescriptionprotected SQLDeleteStatementExpressionQueryMechanism.buildDeleteAllStatement(DatabaseTable table, Expression inheritanceExpression, SQLCall selectCallForExist, SQLSelectStatement selectStatementForExist, SQLCall selectCallForNotExist, SQLSelectStatement selectStatementForNotExist, Collection primaryKeyFields) Return the appropriate delete statement Passing of a call/ statement pair is used because the same pair may be used several times.protected SQLDeleteStatementExpressionQueryMechanism.buildDeleteAllStatementForMapping(SQLCall selectCallForExist, SQLSelectStatement selectStatementForExist, Vector sourceFields, Vector targetFields) Create SQLDeleteAllStatements for mappings that may be responsible for references to the objects to be deleted in the tables NOT mapped to any class: ManyToManyMapping and DirectCollectionMapping NOTE: A similar pattern also used in method buildDeleteAllStatementsForMappingsWithTempTable(): if you are updating this method consider applying a similar update to that method as well.protected SQLDeleteStatementExpressionQueryMechanism.buildDeleteStatement(DatabaseTable table) Return the appropriate delete statementprotected SQLDeleteStatementExpressionQueryMechanism.buildDeleteStatementForDeleteAllQuery(DatabaseTable table) Used by DeleteAllQuery to create DeleteStatement in a simple case when selectionCriteria==null.protected SQLDeleteStatementExpressionQueryMechanism.buildDeleteStatementForDeleteAllQuery(DatabaseTable table, Expression inheritanceExpression) Used by DeleteAllQuery to create DeleteStatement in a simple case when selectionCriteria==null.