On Mon, 24 Nov 2003 [EMAIL PROTECTED] wrote:
> Hello Thomas, > > > -----Original Message----- > > From: Mahler Thomas [mailto:[EMAIL PROTECTED] > > > 1. Define your DB coulm as VARCHAR. > > 2. in the repository_user.xml you set > > conversion="org.apache.ojb.broker.accesslayer. > > conversions.StringVector2Varch arFieldConversion" > > 3. That's all! > > > > All strings of your Vector get concatened and written to the > > VARCHAR column > > in human readable form. > > that is nice only for collections of bounded size of Strings > of bounded lengths. Otherwise you get troubles with > the column length of the database, don't you? > Mapping to BLOB/CLOB is certainly better here (using appropriate conversions), and CLOB might be human readable, but as I understand the problem, Eric wanted to have each string in a separate row in the database ?! Can this be handled via a row-reader for class String ? Eric, can you perhaps give some details on how Hibernate handles this ? Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
