more JPA way.