JPA but with runtime errors - TODO fix it!