jpa trickery