99100101102103104105106107108109
@After public void cleanup() throws Exception { utx.begin(); try { Rating rating = findRating(); entityManager.remove(rating); utx.commit(); } catch (Exception e) { utx.rollback(); }