• Post Reply Bookmark Topic Watch Topic
  • New Topic

Whizlabs Practice exam 1, question 10 (EJB QL)

 
Johan Everman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, does anybode here use Whizlabs simulator and know why they use the OBJECT(p1.lastName) in their answer? I say they it should be SELECT p1.lastName FROM Person 1, Person p2 WHERE p1.phone = p2.phone AND p1.address = p2.address
/BR Johan
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're perfectly right Johan, as per the EJB Specfication 2.0 section 11.2.8 the OBJECT operator should not be used to qualify path expressions. I will instruct Whizlabs to change that Thanks for your feedback.
I'm moving this thread to the Mock Exam errata forum. Please continue this discussion there. Thank you
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!