Hi Cesar, hmm, I rather think I don't understand your problem. Declare all persistent classes in separate class-descriptor. If you need A and B objects to persist, declare a class-descriptor for each class (with all persistent fields, e.g. B need three field-descriptor). If you want to ask OJB for all A objects inclusive all inherited objects use the 'extent-class' tag in A to declare the extended classes. More info http://db.apache.org/ojb/tutorial3.html#extents and polymorphism
regards, Armin ----- Original Message ----- From: "Cesar" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 10:41 PM Subject: Re: mapping inheritance hierarchies???? Sorry B extends A [ ]�s ----- Original Message ----- From: Cesar To: OJB Users List Sent: Thursday, July 24, 2003 4:03 PM Subject: mapping inheritance hierarchies???? People I have two tables(A and B) in my Database where A extends A How I make to map these class in the XML file? I already tried the suggested solution of 1:1 in tutorial3.html but it did�nt work --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
