> condition has all parameters values, there are chances that user may not
enter ssnNumber for search criteria.

This is quite a common occurrence.  You could see the example source code
method buildQuery(...) for one of the possible answers [1].
Also JavaDoc of the method is also relevant to your question.

[1]
https://fisheye6.atlassian.com/browse/openjpa/trunk/openjpa-examples/openbooks/src/main/java/openbook/server/OpenBookServiceImpl.java?r=1073452
 

-----
Pinaki 
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Example-of-join-in-Criteria-API-tp6291890p6324387.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to