RE: Question about OJB references and manually setting foreign keys (Struts app)

2004-06-10 Thread Ian Hunter
Thanks! -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 2:10 PM To: OJB Users List Subject: Re: Question about OJB references and manually setting foreign keys (Struts app) Ian Hunter wrote: > So in short, only when calling store() on

Re: Question about OJB references and manually setting foreign keys (Struts app)

2004-06-10 Thread Armin Waibel
ls dirtyMode() -- works like a champ so far. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Monday, June 07, 2004 9:20 PM To: OJB Users List Subject: Re: Question about OJB references and manually setting foreign keys (Struts app) Hi Ian, > originally turned on a

RE: Question about OJB references and manually setting foreign keys (Struts app)

2004-06-08 Thread Ian Hunter
07, 2004 9:20 PM To: OJB Users List Subject: Re: Question about OJB references and manually setting foreign keys (Struts app) Hi Ian, > originally turned on auto-update as well, until I realized that if I > just wanted to link the Customer to a new Account Manager, I would > actu

Re: Question about OJB references and manually setting foreign keys (Struts app)

2004-06-07 Thread Armin Waibel
Hi Ian, > originally turned on auto-update as well, until I realized that if I > just wanted to link the Customer to a new Account Manager, I would > actually have to load the corresponding User record from persistence and > call "someCompany.setAccountManager (someUser)" or something to that > eff

Question about OJB references and manually setting foreign keys (Struts app)

2004-06-04 Thread Ian Hunter
I'm pretty new to OJB, so be gentle. I'm working on a Struts app, using the PB API, and I have a "Customer" object with an "Account Manager" reference to a "User" object. For instance, something like: public Class User { public int getId(); public String getName(); } Public Cla