protected SQLDeleteStatement |
ExpressionQueryMechanism.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 SQLDeleteStatement |
ExpressionQueryMechanism.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 SQLDeleteStatement |
ExpressionQueryMechanism.buildDeleteStatement(DatabaseTable table) |
Return the appropriate delete statement
|
protected SQLDeleteStatement |
ExpressionQueryMechanism.buildDeleteStatementForDeleteAllQuery(DatabaseTable table) |
Used by DeleteAllQuery to create DeleteStatement in a simple case
when selectionCriteria==null.
|
protected SQLDeleteStatement |
ExpressionQueryMechanism.buildDeleteStatementForDeleteAllQuery(DatabaseTable table,
Expression inheritanceExpression) |
Used by DeleteAllQuery to create DeleteStatement in a simple case
when selectionCriteria==null.
|