Simplification with jpa