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

Moderator: admin

Post Reply
ramy6_1
Posts: 123
Joined: Wed Feb 12, 2014 2:44 am
Contact:

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

Post by ramy6_1 » Mon Jul 21, 2014 6:31 am

Hello ,

I think the first two options are the same , right ?

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

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

Post by admin » Tue Jul 22, 2014 1:32 am

Option 1 says, "The query may have one or more Roots." while option 2 says, "The query must have at least one Root."

Why do you think they are same?

ramy6_1
Posts: 123
Joined: Wed Feb 12, 2014 2:44 am
Contact:

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

Post by ramy6_1 » Tue Jul 22, 2014 1:56 am

Since the sentence "at least one root" = "one or more roots" , right ?

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

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

Post by admin » Tue Jul 22, 2014 6:15 am

No, option 1 does not give any indication about zero roots (whether having no root is valid or invalid). While option 2 indicates that zero roots is invalid.

rnatesan
Posts: 7
Joined: Wed Jun 25, 2014 12:44 pm
Contact:

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

Post by rnatesan » Tue Aug 01, 2017 9:16 pm

"the query must have a Root if you want to navigate through the returned object graph."

this option # 3 also looks correct to me because you cannot write a Criteria API Query without a Root.

Tiffansy
Posts: 1
Joined: Tue Nov 14, 2017 5:13 am
Contact:

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

Post by Tiffansy » Tue Nov 14, 2017 5:18 am

Since the sentence "at least one root" = "one or more roots" , right ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest