RE: Updating instead of Inserting

2005-03-23 Thread Lemke, Wesley
I run my code I don't get an exception, but I also don't get the NewClientGroups. I'm assuming this has something to do with the caching... -Original Message- From: Lemke, Wesley Sent: Tuesday, March 22, 2005 12:55 PM To: 'OJB Users List' Subject: RE: Updating instead of Inserting I am

Re: Updating instead of Inserting

2005-03-23 Thread Armin Waibel
an exception, but I also don't get the NewClientGroups. I'm assuming this has something to do with the caching... -Original Message- From: Lemke, Wesley Sent: Tuesday, March 22, 2005 12:55 PM To: 'OJB Users List' Subject: RE: Updating instead of Inserting I am persisting the objects fine now

Re: Updating instead of Inserting

2005-03-23 Thread Jakob Braeuchi
something to do with the caching... -Original Message- From: Lemke, Wesley Sent: Tuesday, March 22, 2005 12:55 PM To: 'OJB Users List' Subject: RE: Updating instead of Inserting I am persisting the objects fine now, but I am getting an error when retrieving: [3/22/05 12:44:43:008 CST] 39432342

Updating instead of Inserting

2005-03-22 Thread Lemke, Wesley
I have 4 classes: AdmObject -- highlevel class that all of our persistent classes extend. Contains objectId field. Generic Group -- Abstract. Extends AdmObject. Contains common fields for NewClientGroup and Subgroup and the ojbConcreteClass. NewClientGroup -- extends Generic Group, contains a

Re: Updating instead of Inserting

2005-03-22 Thread Armin Waibel
Hi Wes, why did you need mapping for AdmObject when only one class extent AdmObject? In mapping for NCG collection-descriptor name=subgroups element-class-ref=model.client.Subgroup auto-delete=true auto-update=true

RE: Updating instead of Inserting

2005-03-22 Thread Lemke, Wesley
- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 8:38 AM To: OJB Users List Subject: Re: Updating instead of Inserting Hi Wes, why did you need mapping for AdmObject when only one class extent AdmObject? In mapping for NCG collection-descriptor name

Re: Updating instead of Inserting

2005-03-22 Thread Armin Waibel
-Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 8:38 AM To: OJB Users List Subject: Re: Updating instead of Inserting Hi Wes, why did you need mapping for AdmObject when only one class extent AdmObject? In mapping for NCG collection-descriptor

RE: Updating instead of Inserting

2005-03-22 Thread Lemke, Wesley
To: OJB Users List Subject: Re: Updating instead of Inserting Lemke, Wesley wrote: Thanks Armen, that worked. I've made this same mistake before, you would think I'd learn :) ...you are in good company, the history of mankind is an endless list of repeated mistakes ;-) The AdmObject