added functionality for the petclinic jpa test