Hi everyone, after 200 times writing something like:
@CommitAfter public Object onAction() { report=(Report)session.merge(report); //do update report stuff here } i'm curious if there are anything ready to automate this? May be per-field annotation to auto-merge hibernate entities on XHR requests? Like that: @Property @Persist @MergeBefore //just to indicate entity should be re-attached to session on XHR private Report report; Thanks.