Register / Login
Win a copy of
Java 9 Revealed
this week in the
Features new in Java 9
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Object Relational Mapping
Can I apply MatchMode.ANYWHERE to a selected property in criteria search?
posted 7 years ago
I have the following code:
User user = new User();
Example example = Example.create(user);
My understanding is that MatchMode.ANYWHERE applies to both Name and Email properties. How can I make MatchMode.ANYWHERE apply to only one of them, not both?
Boost this thread!
Quering on multiple tables using criteria api
Does an ORM framework exist for JAVA that generates SQL so you only ever deal with Objects?
Problem with date and time?
Criteria on joining fails
how to use sql functions inside criteria?