Page 1 of 1
About Question enthuware.oce-jpad.v6.2.473 :
Posted: Wed Dec 18, 2013 3:51 am
by KPACHblu
Hi,
I thing the first answer "Nothing needs to be inserted." is correct too. For example like here:
http://www.ibm.com/developerworks/libra ... #listing11
Or I miss something?
Thank you!
Re: About Question enthuware.oce-jpad.v6.2.473 :
Posted: Wed Dec 18, 2013 7:52 am
by admin
I am not sure why you think so. Could you please specify which part of the article are you talking about?
-Paul.
Re: About Question enthuware.oce-jpad.v6.2.473 :
Posted: Wed Dec 18, 2013 8:04 am
by KPACHblu
admin wrote:I am not sure why you think so. Could you please specify which part of the article are you talking about?
-Paul.
I'm talking about the code in the listing 11: "Listing 11. CriteriaQuery selects candidate extent by default". There we don't explicitly specify selection term.
Re: About Question enthuware.oce-jpad.v6.2.473 :
Posted: Thu Dec 19, 2013 1:05 am
by admin
Section 6.5.10 of the Persistence specification says,
6.5.10 Specifying the Select List
The select list of a query is specified by use of the select or multiselect methods of the CriteriaQuery
interface.
I don't see anything about default.
HTH,
Paul.