ability to subscribe to a feed

This commit is contained in:
Athou
2013-03-24 13:11:05 +01:00
parent 17fe01ade4
commit fb40ced8a1
16 changed files with 828 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ public abstract class GenericDAO<T, K> implements
em.remove(object);
}
public void deleteById(Object id) {
public void deleteById(K id) {
Object ref = em.getReference(getType(), id);
em.remove(ref);
}