Hi, since CollectionProxy implements Collection and ManageableCollection i can not use java.util.List, otherwise i come across the same error message. Is it possible that in the future we can use java.util.List, so it will be easier to directly refer to objects in the collection (using methods indexOf, get, etc.).
Roger Janssen iBanx -----Original Message----- From: Mahler Thomas [mailto:[EMAIL PROTECTED]] Sent: dinsdag 5 november 2002 16:41 To: 'OJB Users List' Subject: AW: collection-descriptor + collection proxy Hi Marian, The problem can be detected from the output: Your class sk.euromove.goldeneye.projectmanagement.bos.Project has an attribute allSubsystems of type java.util.Vector If you are using prox="true" OJB builds a CollectionProxy instance and tries to set the attribute allSubsystems to this value. But a CollectionProxy can't be downcasted to java.util.Vector! Please try to declare allSubsystems as java.util.Collection or java.util.List. cheers, Thomas Must implement Collection, List or ManageableCollection. cheers, Thomas ************************************************************************* The information contained in this communication is confidential and is intended solely for the use of the individual or entity to whom it is addressed.You should not copy, disclose or distribute this communication without the authority of iBanx bv. iBanx bv is neither liable for the proper and complete transmission of the information has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
