I don't really get it!? I got three different tables. E.g. The individual table contains all stuff from contact plus individual specific fields. Same with the user table. If I would use ojbConcreteClass to materialize I would get my User as Individual into the result set. But this is what I try to prevent. I have a type field in the contact I could use it as an AND criteria but I think there's a smarter way.
Regards, Nils -----Original Message----- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 1:03 PM To: OJB Users List Subject: Re: Query for a certain class How do you map the inheritance ? If you're mapping them to the same class (i.e. via ojbConcreteClass), than you can use this field in your query. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
