Converting from hibernate to JPA
Still working out JPA issues