[jboss-user] [EJB 3.0] - Re: Inheritence and EJBQL

Wolfgang Knauf do-not-reply at jboss.com
Fri Sep 28 05:55:06 EDT 2007


Hi !

this should work. I have done the same by declaring named queries on each of the bean classes.

you could take a look at this sample:
http://www.informatik.fh-wiesbaden.de/~knauf/SWTVertiefung2007/kucheninheritance/KuchenInheritance.ear
Unfortunately the language is german, but hope you can make your way through the code.
The application client calls finder methods to load 
-all beans of all subtypes
-all beans of subtype a
-all beans of subtype b

Hope his helps

Wolfgang


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089620#4089620

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089620



More information about the jboss-user mailing list