Hi Peter,

I have successfully extended from a base class in several applications.  Other 
problems crop up so I don't have things too easy, but not this one.

You will find the solution here:
http://docs.jboss.org/ejb3/app-server/tutorial/singleinheritance/single.html

Also, the extended class should have no primary key - the pk is only in the 
base class.

Do use the single table inheritance method, it works well and is amenable to 
some changes in your inheritance hierarchy later on, should it be needed.

Hope this helps.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to