Oracle
1Z0-898 · Question #18
1Z0-898 Question #18: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-898 to reveal the answer and full explanation for question #18. The question stem and answer options stay visible for context.
Question
The developer wants to write a criteria query that will return the number of orders made by customer of each county. Assume that customer is an entity with a unidirectional one-to-many relationship to the Order entity and that Address is an embeddable class, with an attribute country of type String. Which one of the queries below correctly achieves this?
Options
- ACriteriaBuilder cb> = ...
- BCriteriaBuilder cb> = ...
- CCriteriaBuilder cb> = ...
- DCriteriaBuilder cb = ...
Unlock 1Z0-898 to see the answer
You've previewed enough free 1Z0-898 questions. Unlock 1Z0-898 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.