Re: Persistent storage of collection of primitive types

2004-07-23 Thread David Zejda
Use conversion="org.apache.ojb.broker.accesslayer.conversions.StringList2VarcharFieldConversion" or conversion="org.apache.ojb.broker.accesslayer.conversions.StringVector2VarcharFieldConversion" or create your own conversion strategy. /** * @ojb.field jdbc-type="VARCHAR" *conversion

Persistent storage of collection of primitive types

2004-07-22 Thread Bart Molenkamp
Hello, I'm new to OJB. I want to store a collection (java.util.Set) of strings in a database. I saw that OJB can help me with storing collections, but only for collections of classes that are @ojb.class marked (I'm using Xdoclet, yes). Is it possible to store my collection of strings? And how shou