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.
JPA doesn't offer this yet, but you can use Spring Data JPA Query by Example.