Thomas Dudziak wrote:

> On Wed, 26 May 2004, Maksimenko Alexander wrote:
>
> > Hi!
> > Is it possible to specify in "element" attribute in the collection
> > descriptor an abstract class?
>
> 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).

We tried this unsuccessfully - had a descriptor for the interface, and set
the Collection element type to be the interface, with ojbConcreteClass
defined as one of the extents. OJB still kept trying to create the interface.
This is rc6, BTW. Gave up in the end and had to specify the collection
element type as the concrete extent.

Cheers,

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to