anonymous wrote : Can a EJB QL query be constructed such that I only get results for one
of the derived classes?
|
| Something like:
|
| for this part get only the "Cars" associated with it.
|
| SELECT auto FROM Autobile auto, IN(auto.parts) AS part where part=:specificPart and
"Automobile instanceof Car"
SELECT auto FROM Car ...
It's that simple :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998659#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...