I've got an object model with strongly typed collections:
class A {
private BList bs;
public BList getBs();
}
class B {
...
}
class BList implements Collection {
...
}
When I store the object, everything is good, but when i read it later i've
got an exception
thrown from AbstractPersistentField.set when trying to set the B collection,
which is a
ManageableCollection. OJB was configured to use
PersistentFieldDirectAccessImpl.
So i tried with PersistentFieldIntrospectorImpl and adding a set method
public void setBs(Collection list)
but I've got the following exception:
Can't get WriteMethod for property:bs in object:A
Is there a way to store and read my collection without writing a custom
PersistentField ?
Guillaume Nodet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]