About Question enthuware.oce-jpad.v6.2.473 :

Moderator: admin

Post Reply
KPACHblu
Posts: 2
Joined: Wed Dec 18, 2013 3:45 am
Contact:

About Question enthuware.oce-jpad.v6.2.473 :

Post 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!

Online
admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.2.473 :

Post by admin »

I am not sure why you think so. Could you please specify which part of the article are you talking about?
-Paul.

KPACHblu
Posts: 2
Joined: Wed Dec 18, 2013 3:45 am
Contact:

Re: About Question enthuware.oce-jpad.v6.2.473 :

Post 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.

Online
admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.2.473 :

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests