• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HF EJB question 17 on page 430

 
Li Xin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again, can anyone explain what option A means and why it is correct?
Thanks.
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A single-valued path expression is when you use a cmp field name in your EJB QL. Contrast this to a range variable, which is an abstract schema name that you can refer to in your EBJ QL.
Why is option a correct for question 17 on page 430 of HFEJB?
This question refers to the use of IN by the WHERE clause. For example:
Select m.title from MovieSchema m Where m.title IN ('The Shining', 'Appocalypse Now')
Option a is correct because you must use the single quotes around the options you list in the IN clause.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic