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: 7412
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?
If you like our products and services, please help us by posting your review here.

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: 7412
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.
If you like our products and services, please help us by posting your review here.

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 ?

henri.davids
Posts: 7
Joined: Tue Sep 04, 2018 9:51 am
Contact:

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

Post by henri.davids » Sun Sep 16, 2018 1:47 pm

In my opinion, if option 1 is correct, option 3 might also be thought correct. Since option 1 does not give any indication about zero roots, it could be used in the wrong way. Option 2 is therefore better dan option 1, and you might treat option 3 even as good as option 1.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests