Application managed JPA