Hello Christophe,

> -----Original Message-----
> From: Christophe Marcourt [mailto:[EMAIL PROTECTED]

> I've got all my simple collections. Not arrays, not 
> manageable collections only Vectors.

java.util.Vector is evil.

> [org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDef
> aultImpl] ERROR: while set field:
[...]
> target field type: class java.util.Vector
> object value class: org.apache.ojb.broker.accesslayer.ListProxy
[...]

But that is a good error message, isn't it?  A ListProxy is not a
Vector, thus the assignment fails.

Your field should be declared of type java.util.Collection or 
java.util.List, then the assignment will work.

Olli

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

Reply via email to