String sqlStmt = null; if (tupleInfo.remove) { sqlStmt = pb.serviceSqlGenerator().getDeleteMNStatement(table, pkColumns1, pkColumns2); } else {
String sqlStmt = pb.serviceSqlGenerator().getDeleteMNStatement(table, pkColumns1, pkColumns2); pb.serviceJdbcAccess().executeUpdateSQL(sqlStmt, cld1, pkValues1, pkValues2);     if (! tupleInfo.remove) {
    protected void updateMtoNRelation(PersistenceBroker pb, RelationTupleInfo tupleInfo) {	Object obj1 = tupleInfo.obj1;	Object obj2 = tupleInfo.obj2;        ClassDescriptor cld1 = pb.getDescriptorRepository().getDescriptorFor(obj1.getClass());	CollectionDescriptor cod = cld1.getCollectionDescriptorByName(tupleInfo.colNameOnObj1);	if (cod == null) {	    // try the mapping on the other object	    cld1 = pb.getDescriptorRepository().getDescriptorFor(obj2.getClass());	    cod = cld1.getCollectionDescriptorByName(tupleInfo.colNameOnObj2);	    // switch objects	    obj1 = tupleInfo.obj2;	    obj2 = tupleInfo.obj1;	}        ValueContainer[] pkValues1 = pb.serviceBrokerHelper().getKeyValues(cld1, obj1);        String[] pkColumns1 = cod.getFksToThisClass();	        ClassDescriptor cld2 = pb.getDescriptorRepository().getDescriptorFor(obj2.getClass());        ValueContainer[] pkValues2 = pb.serviceBrokerHelper().getKeyValues(cld2, obj2);	        String[] pkColumns2 = cod.getFksToItemClass();        String table = cod.getIndirectionTable();		String sqlStmt = null;	if (tupleInfo.remove) {	    sqlStmt = pb.serviceSqlGenerator().getDeleteMNStatement(table, pkColumns1, pkColumns2);	} else {	    sqlStmt = pb.serviceSqlGenerator().getInsertMNStatement(table, pkColumns1, pkColumns2);	}        pb.serviceJdbcAccess().executeUpdateSQL(sqlStmt, cld1, pkValues1, pkValues2);    }