IntersectionRow intRow = many.buildManyToManyMapBean(parentBean, otherBean, publish); SqlUpdate sqlInsert = intRow.createInsert(server); persister.executeSqlUpdate(sqlInsert, transaction); IntersectionRow intRow = many.buildManyToManyMapBean(parentBean, otherDelete, publish); SqlUpdate sqlDelete = intRow.createDelete(server, DeleteMode.HARD); persister.executeSqlUpdate(sqlDelete, transaction);
IntersectionRow intRow = many.buildManyToManyMapBean(parentBean, otherBean, publish); SpiSqlUpdate sqlInsert = intRow.createInsert(server); persister.executeOrQueue(sqlInsert, transaction, queue); IntersectionRow intRow = many.buildManyToManyMapBean(parentBean, otherDelete, publish); SpiSqlUpdate sqlDelete = intRow.createDelete(server, DeleteMode.HARD); persister.executeOrQueue(sqlDelete, transaction, queue);