JDBCEntityBridge entity = (JDBCEntityBridge) cmrField.getEntity();
entity.scheduleForCascadeDelete(ctx);
return null;
} else if (CMRMessage.SCHEDULE_FOR_BATCH_CASCADE_DELETE == relationshipMessage) {
JDBCEntityBridge entity = (JDBCEntityBridge) cmrField.getEntity();
entity.scheduleForBatchCascadeDelete(ctx);
return null;
} else {
// this should not be possible we are using a type safe enum
throw new EJBException("Unknown cmp2.0-relationship-message=" + relationshipMessage);
}