Switched from Plain JDBC to JPA.