private void deleteOne2ManyChildrenShallow ( OneToManyAssociation association ) { String targetTable = metaModelOf ( association . getTargetClass ( ) ) . getTableName ( ) ; new DB ( metaModelLocal . getDbName ( ) ) . exec ( "DELETE FROM " + targetTable + " WHERE " + association . getFkName ( ) + " = ?" , getId ( ) ) ; }
Deletes immediate children .