On 6/29/05, Hiller, Frank RD-AS2 <[EMAIL PROTECTED]> wrote:

> is it possible to use "collection-descriptor" in repository.xml for
> arrays, too?
> Using a collection works fine but I didn't get it for array to work :-(.

Yep, it works for arrays as well. Eg. have a look at the PersonWithArray test

http://cvs.apache.org/viewcvs.cgi/db-ojb/src/test/org/apache/ojb/broker/PersonWithArray.java?only_with_tag=OJB_1_0_RELEASE&view=markup
http://cvs.apache.org/viewcvs.cgi/db-ojb/src/test/org/apache/ojb/broker/MtoNTest.java?only_with_tag=OJB_1_0_RELEASE&view=markup
(method testStoreBidirectionalArray)

and the corresponding repository mapping 

http://cvs.apache.org/viewcvs.cgi/db-ojb/src/test/org/apache/ojb/repository_junit.xml?only_with_tag=OJB_1_0_RELEASE&view=markup

Tom

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

Reply via email to