Reputation: 89
I have an application that uses Hibernate. We are moving to JPA 2.1 standard. There are a lot of usage of "org.hibernate.criterion.Example" with its (excludeProperty) feature. Is there any equivalent to "Hibernate Example" in JPA 2.1?
Thanks.
Upvotes: 5
Views: 1229
Reputation: 153780
JPA doesn't offer this yet, but you can use Spring Data JPA Query by Example.
Upvotes: 2