replaced OpenJPA with hibernate for testing