common JPA utilities