Hi,

We have a requirement where in the data will be coming in the form of
XML document. Using mapping file, we have loaded the data into Java
classes. Now we want to update it to the database. The problem is, some
of the records might be already there in the database. For this it has
to update the details. For others it has to create. How can we do that?

I am able to create new records.
Also able to update records if i retrieved from database using OQL
query.
But when i use update with data not retrieved by OQL, i am getting the
following error :
org.exolab.castor.jdo.ObjectModifiedException: Object is cleared from
cache.

Thanks in advance
Ramki

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

Reply via email to