openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: Example of join in Criteria API
Date Mon, 02 May 2011 16:25:32 GMT
> 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.

Mime
View raw message