mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-24 04:57:50 +00:00
remove deprecated usage of saveOrUpdate in preparation of hibernate 7
This commit is contained in:
@@ -57,7 +57,7 @@ public class OPMLImporter {
|
||||
category.setParent(parent);
|
||||
category.setUser(user);
|
||||
category.setPosition(position);
|
||||
feedCategoryDAO.saveOrUpdate(category);
|
||||
feedCategoryDAO.persist(category);
|
||||
}
|
||||
|
||||
for (int i = 0; i < children.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user