adapted deafult JPA dao to staging