hibernate tweaks

This commit is contained in:
Athou
2013-06-06 09:54:17 +02:00
parent c907abbf62
commit be6db080fd
18 changed files with 40 additions and 56 deletions

View File

@@ -86,7 +86,7 @@ public class FeedSubscriptionService {
status.setSubscription(sub);
statuses.add(status);
}
feedEntryStatusDAO.save(statuses);
feedEntryStatusDAO.saveOrUpdate(statuses);
}
taskGiver.add(feed);
return feed;