You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Thomas Dudziak <to...@first.gmd.de> on 2004/05/27 12:51:51 UTC
Re: Polymorphism in collections
On Thu, 27 May 2004, Chris Lewington wrote:
> 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.
I made some changes related to this, but I don't know whether they made it
into the rc6. In CVS this is working (I use it myself: abstract
baseclass with class descriptor, extents and ojbConcreteClass).
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Polymorphism in collections
Posted by Maksimenko Alexander <ma...@bird.cris.net>.
Thomas Dudziak wrote:
>On Thu, 27 May 2004, Chris Lewington wrote:
>
>
>
>>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.
>>
>>
I got the same problem when I put some field descriptors in the class
descriptor wich specified the interface.
>I made some changes related to this, but I don't know whether they made it
>into the rc6. In CVS this is working (I use it myself: abstract
>baseclass with class descriptor, extents and ojbConcreteClass).
>
>
>
I use rc6 and it works.
--
Maksimenko Alexander
Softwarium, www.softwarium.net
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org