Hi,

> Are you sure proxy is working ???

There are tons of testcases proving that it works!

> I'm working with OJB 1.0 rc3.
> 
> I've got all my simple collections. Not arrays, not 
> manageable collections only Vectors.
> Everytime I turned on the proxy in my repository.xml, always 
> the same Exception :
> 
> [org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDef
> aultImpl] ERROR: while set field:
> object class[ com.hbk.bean.Neighbourhood
> target field: houses
> target field type: class java.util.Vector

type your attribute as java.util.List or Collection!
proxies work only for interfaces, not for concrete types like Vector.

> object value class: org.apache.ojb.broker.accesslayer.ListProxy
> object value: [EMAIL PROTECTED]
> java.lang.IllegalArgumentException
> 
> I don't understand at all.
> Can we have a concrete example in the tutorial ?

Have a look at the src/test hierarchie. It contains testcases for every OJB
feature.
there are also samples for CollectionProxies.

cheers,
Thomas

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

Reply via email to