improved jpa performance