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
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
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
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
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
-
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
-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
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