On Wed, 26 May 2004, Maksimenko Alexander wrote: > Hi! > Is it possible to specify in "element" attribute in the collection > descriptor an abstract class?
Yes (at least in rc6 or CVS), but the abstract class (or interface) must be mapped in the repository. I.e., there must be a class descriptor for this class that contains extents to the implementing classes (if explicitly mapped) and field descriptors for all fields (primary keys, foreign keys) relevant for the collection usage. Also, you probably need to use the factory-class and factory-method or the ojbConcreteClass field since OJB will try to create objects of this class (which obviously won't work). Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
