On Thu, 26 Feb 2004, Ziv Yankowitz wrote: > Thanks for the response. > > If I understand correctly there is no way we can map the abstract class to it's own > table.
You might want to try the factory-class and factory-method attributes of the class descriptor. If you use them, OJB will not require a constructor in the class, and also the class is not required to be instantiable (this even works with interfaces). In the factory-method you simply return an instance of a concrete subclass (which shouldn't have its own mapping, though, otherwise you'll run into problems). Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
