Changed to Java SE 1.8.
Use JPA.