jpa and primefaces