Corrects jpa example