Hi Oleg,
           Thanx for the update. But it doesn't seem to work for me. With
the new version, when I try to commit a record, even after selecting it, all
the records in the child table gets deleted!!! So as soon as I create a new
record and bring it down for display in a list, all the records in the child
table gets deleted after a database.commit.  Please do help me out with
this.

Thanks

George


----- Original Message -----
From: "Oleg Nitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 12:00 AM
Subject: Re: [castor-dev] Problem with 'update'


> Hi George,
>
> I guess this bug is fixed in CVS version.
> Please, try it.
>
> Oleg
>
> On Tuesday 21 August 2001 08:01, George Chacko M wrote:
> > Hi all,
> >          I'm having some problems with the database update. When I try
to
> > create a new record , (the Key for the parent table is generated using
> > Keygen), the key for the parent table gets generated(159727) and is
> > updated. But that field in the child table is updated as 0.It gives a
> > Persistence Exception as... org.exolab.castor.jdo.PersistenceException:
The
> > identity of a data object of type
> > com.tsi.CstEmail.address.AddressOperations, has been changed from 0 to
> > 159,727 since it is loaded/create/update. at
> > org.exolab.castor.persist.ClassMolder.preStore(ClassMolder.java:1114) at
> > org.exolab.castor.persist.LockEngine.preStore(LockEngine.java:726) at
> >
org.exolab.castor.persist.TransactionContext.prepare(TransactionContext.jav
> >a:1336) at
> > org.exolab.castor.jdo.engine.DatabaseImpl.commit(DatabaseImpl.java:499).
> >
> > Could anybody please help me out with this problem
> >
> > Thanks
> >
> > George
>
> ----------------------------------------
> Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> Content-Transfer-Encoding: quoted-printable
> Content-Description:
> ----------------------------------------
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to