ItEr31S12ValidacionEProbasFuncionaisItEr30S17: Calling save instead of associate to session because now the resource can have dirty collections

bug #66
This commit is contained in:
Óscar González Fernández 2009-10-21 23:33:06 +02:00
parent bc474ec421
commit 8e5d3f7de6

View file

@ -64,7 +64,7 @@ public class PlanningState {
public void reassociateResourcesWithSession(IResourceDAO resourceDAO) {
for (Resource resource : resources) {
resourceDAO.associateToSession(resource);
resourceDAO.save(resource);
}
addingNewlyCreated(resourceDAO);
}