Rely on JPA annotation but not on Hibernate