added refresh method

This commit is contained in:
Joern Muehlencord
2019-09-02 15:47:40 +02:00
parent 97649c9306
commit c4d71f9614

View File

@ -177,6 +177,10 @@ public abstract class CommonAbstractController {
public <T extends Serializable> T attach(T entity) {
return em.merge(entity);
}
public <T extends Serializable> void refresh (T entity) {
em.refresh(entity);
}
/* *** filter methods *** */