You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Mindy Pereira <Mi...@appiancorp.com> on 2004/07/06 21:13:48 UTC

OJB and Inheritance

I have a bean, Case094, extending another bean, Case021. Both beans have
separate repository_user.xml setups and separate tables. However, when I
store a bean of type Case094 (using broker.store) the information ends
up in the table for Case021. I am currently using OJB RC5 with plans to
upgrade to version 1. Is this a known issue in RC5 that the upgrade
could fix, or is there some other issue?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: OJB and Inheritance

Posted by Armin Waibel <ar...@apache.org>.
Hi,

did you checked your metadata files (e.g. wrong table name)?

 > Both beans have
 > separate repository_user.xml setups

What do you mean? Do you mean completely separate repository.xml files 
or only split repository_user.xml files using "!ENTITY" include in 
repository.xml file?

regards,
Armin

Mindy Pereira wrote:
> I have a bean, Case094, extending another bean, Case021. Both beans have
> separate repository_user.xml setups and separate tables. However, when I
> store a bean of type Case094 (using broker.store) the information ends
> up in the table for Case021. I am currently using OJB RC5 with plans to
> upgrade to version 1. Is this a known issue in RC5 that the upgrade
> could fix, or is there some other issue?
> 
> Thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org