Tutorial for JPA using DataNucleus