• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

My exam cloud mock exam 1 , criteria query

 
Bartender
Posts: 2442
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a drag and drop question in mock exam 1 :

The drag and drop selection is underlined.


Select c from Customer c Left Join c.orders o WHERE c.status=1
Select the CriteriaQuery code equivalent to the above query:
Answer:
Root q = cb.createQuery(Customer.class)
CriteriaQuery customer = q.from (Customer.class)
Join order = ....



I think the answer should be:
CriteriaQuery q = cb.createQuery (Customer.class)
Root customer = q.from(Customer.class)
 
MyExamCloud Software Support
Posts: 161
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Himai Minh,

We really sorry for the issue.
The answer has been updated with correct indexes.

 
How do they get the deer to cross at the signs? Or to read this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic