problem with lists in n:m relation and proxy=dynamic

2005-05-02 Thread Günther Wieser
hi, i've two classes that are linked to each other (bi-directional) using an indeirection table. they are called pharmacy and campaign, and pharmacy has a method List getCampaigns() to retreive all campaigns it is in, and campaign has a method List getPharmacies(), which gives back the list of

RE: problem with lists in n:m relation and proxy=dynamic

2005-05-02 Thread Günther Wieser
hashCode(). -steve Steve Clark ECOS Development Group [EMAIL PROTECTED] (970)226-9291 Günther Wieser [EMAIL PROTECTED] 05/02/2005 04:15 AM Please respond to OJB Users List ojb-user@db.apache.org To 'OJB Users List' ojb-user@db.apache.org cc Subject problem with lists in n:m relation and proxy

RE: problem with ojb when overwriting the toString() method

2005-04-04 Thread Günther Wieser
into this later today, but, as mentioned, haven't seen any problems so far with this method outside ojb. so if you have any other idea what could cause this problem, i would very much appreciate that. kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com

RE: problem with ojb when overwriting the toString() method

2005-04-04 Thread Günther Wieser
the toString() method Günther Wieser wrote: hmm, haven't seen any error so far when using the toString() method of objects of this class so far. what the toString() method does is to get all private fields of the object by introspection and fill a string buffer with the name of the field

RE: Mapping question

2005-03-03 Thread Günther Wieser
hi, as far as i understand this, you try to differentiate by the value of adress.type whether an adress is a home wor work adress? well, i have no solution for that, but i tried it here with a similair data structur, and it didn't work either. to be honest i'm not sure if this is the intended use

RE: Mapping question

2005-03-03 Thread Günther Wieser
i tried to change my code to using extends, it works perfect for me, and from an object oriented design view, this is perfect! what i did (if i apply the things i did to georgs problem): - create an abstract class Address that has all attributes in it - derive both classes HomeAddress and

problem with compound primary key when one key=

2005-02-28 Thread Günther Wieser
hi, i found a problem with using a compound primary key (two columns). it appears only if one of the keys is set to (an empty string, NOT null). here's my setup: ojb 1.0.1, mysql 4.0.23 on XP prof., jdk 1.4.2_07 repository.xml: class-descriptor

AW: problem with compound primary key when one key=

2005-02-28 Thread Günther Wieser
, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Ursprüngliche Nachricht- Von: Armin Waibel [mailto:[EMAIL PROTECTED] Gesendet: Montag, 28. Februar 2005 20:29 An: OJB Users List Betreff: Re: problem with compound primary key when

AW: AW: problem with compound primary key when one key=

2005-02-28 Thread Günther Wieser
this topic), seems very reasonable. kr and many thanks, guenther -Ursprüngliche Nachricht- Von: Armin Waibel [mailto:[EMAIL PROTECTED] Gesendet: Montag, 28. Februar 2005 20:56 An: OJB Users List Betreff: Re: AW: problem with compound primary key when one key= Günther Wieser wrote: hmm