Adjusting to get jpa to run