mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
populate statuses as read when a user subscribes
This commit is contained in:
@@ -38,6 +38,12 @@ public abstract class GenericDAO<T extends AbstractModel> implements
|
||||
em.persist(object);
|
||||
}
|
||||
|
||||
public void save(List<T> objects) {
|
||||
for (Object object : objects) {
|
||||
em.persist(object);
|
||||
}
|
||||
}
|
||||
|
||||
public void update(List<T> objects) {
|
||||
for (Object object : objects) {
|
||||
em.merge(object);
|
||||
|
||||
Reference in New Issue
Block a user