Added JPA support with hibernate implementation