@Override public void beforeInvocation() { // just to be safe we must clear all possible previous // JPAContexts in this thread JPA.clearJPAContext(); }