Re: Collection of string

2003-11-25 Thread Michael Mogley
Wallace Joseph" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 10:40 AM Subject: RE: Collection of string Hi Michael, I agree that there do exist scenarios that mapping a string to a separate table could be desirable. Ho

RE: Collection of string

2003-11-25 Thread Gelhar, Wallace Joseph
create in your application persistence service. Wally -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 12:14 PM To: OJB Users List Subject: Re: Collection of string I agree. IMO, this should not require any additional mapping

Re: Collection of string

2003-11-25 Thread Michael Mogley
Message - From: "Michael Mogley" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 10:13 AM Subject: Re: Collection of string > I agree. IMO, this should not require any additional mapping definitions > beyond t

Re: Collection of string

2003-11-25 Thread Michael Mogley
[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 9:47 AM Subject: RE: Collection of string > Hi all, > > YES, YES, and YES, I think we need this feature ! ;o) > Why ? > First, if you want to use yo

RE: Collection of string

2003-11-25 Thread eric barbe
to difficult to maintain. In short, YES, YES, and YES, we need this feature ! Best regards, Sorry for my english !! Eric -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoye : mardi 25 novembre 2003 18:18 A : OJB Users List Objet : Re: Collection of string

Re: Collection of string

2003-11-25 Thread Thomas Mahler
Hi all, Thomas Dudziak wrote: On Tue, 25 Nov 2003, eric barbe wrote: Hi, Honestly, I did not test Hibernate, I only read the documentation. Hibernate works the other way around from OBJ for modeling the XML. What I saw for string list is this :

RE: Collection of string

2003-11-25 Thread Thomas Dudziak
On Tue, 25 Nov 2003, eric barbe wrote: > Hi, > > Honestly, I did not test Hibernate, I only read the documentation. > Hibernate works the other way around from OBJ for modeling the XML. > What I saw for string list is this : > > > > > It seem's simply

RE: Collection of string

2003-11-25 Thread eric barbe
dziak [mailto:[EMAIL PROTECTED] Envoye : lundi 24 novembre 2003 20:34 A : OJB Users List Objet : RE: Collection of string On Mon, 24 Nov 2003 [EMAIL PROTECTED] wrote: > Hello Thomas, > > > -Original Message- > > From: Mahler Thomas [mailto:[EMAIL PROTECTED] > &g

RE: Collection of string

2003-11-24 Thread Thomas Dudziak
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

RE: Collection of string

2003-11-24 Thread oliver . matz
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 s

RE: Collection of string

2003-11-24 Thread Charles Anthony
B Users List' > Subject: RE: Collection of string > > > > Hi there is a very nice feature in OJB to handle this: > > 1. Define your DB coulm as VARCHAR. > 2. in the repository_user.xml you set > conversion="org.apache.ojb.broker.accesslayer.conversions.Stri > ngVec

RE: Collection of string

2003-11-24 Thread Mahler Thomas
ned and written to the VARCHAR column in human readable form. cu, Thomas > -Original Message- > From: eric barbe [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 3:27 PM > To: OJB Users List > Subject: RE: Collection of string > > > Yes, you're

RE: Collection of string

2003-11-24 Thread eric barbe
Yes, you're right, but what do you think about Hibernate witch seems to do this very simply ? Eric -Message d'origine- De : Thomas Dudziak [mailto:[EMAIL PROTECTED] Envoye : lundi 24 novembre 2003 11:01 A : OJB Users List Objet : RE: Collection of string On Mon, 24 Nov

RE: Collection of string

2003-11-24 Thread Thomas Dudziak
On Mon, 24 Nov 2003, eric barbe wrote: > Hi Thomas, > > Thanks for your help. > I thought about this solution, but honestly, it is not very beautiful. > They are no other ways ? > Is it possible to hope that OJB will do this easily in a future release ? Thats not so much a problem of OJB but a

RE: Collection of string

2003-11-24 Thread eric barbe
EMAIL PROTECTED] Envoye : vendredi 21 novembre 2003 18:15 A : OJB Users List Objet : RE: Collection of string On Fri, 21 Nov 2003, eric barbe wrote: > Hi, > > Yes, I need to use this table on reporting applications that do not use OJB. > This fields must be readable. > The string cla

RE: Collection of string

2003-11-21 Thread Thomas Dudziak
On Fri, 21 Nov 2003, eric barbe wrote: > Hi, > > Yes, I need to use this table on reporting applications that do not use OJB. > This fields must be readable. > The string class itself won't work as an existing string object cannot be changed anymore (upon loading OJB creates the object using

RE: Collection of string

2003-11-21 Thread eric barbe
Hi, Yes, I need to use this table on reporting applications that do not use OJB. This fields must be readable. Eric -Message d'origine- De : Thomas Dudziak [mailto:[EMAIL PROTECTED] Envoye : vendredi 21 novembre 2003 17:39 A : OJB Users List Objet : Re: Collection of string ~ O

Re: Collection of string

2003-11-21 Thread Thomas Dudziak
Oops, wrong combination of jdbc-type and conversion: CLOB and Object2Base64StringFieldConversion BLOB and Object2ByteArrFieldConversion Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: Collection of string

2003-11-21 Thread Thomas Dudziak
~ On Fri, 21 Nov 2003, eric barbe wrote: > Hi, > > I'm trying to map a string list declared as ArrayList in my Java code. > I declared a collection like this > > > ... > element-class-ref="java.lang.String" auto-update="true" auto-retrieve="true" > auto-delete="false"> > >

Collection of string

2003-11-21 Thread eric barbe
Hi, I'm trying to map a string list declared as ArrayList in my Java code. I declared a collection like this ... ... I try to declare the class java.lang.String, it seems stupid, but i don't know how to do : And my DDL script looks like the follo