[jboss-user] [EJB 3.0] - Re: WrongClassException with inheritance
do-not-reply at jboss.com
Mon Jan 15 06:19:41 EST 2007
Thank you very much for this hint.
But as far as I can see, I would have to define a DiscriminatorColumn in my superclass (AbstractBalance) from which I can decide between one of my inheritances, for every id in this table
But in my case both tables (BalanceA and BalanceB) are referencing to the same id of the superclass and it is possible that either only an object of BalanceB or instances of both objects can exist. This is dependend of an existing entry in the related tables.
Can someone give me an idea how to solve that?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001730#4001730
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001730
More information about the jboss-user