yea i got the problem fixed..I have the persistent class implemet the Timestampable interface.
 
thanks anywayz.
 
Now im having problem with the deletion of objects.
 
Im getting the following exception when im trying to delete objects:
 
org.exolab.castor.jdo.ObjectNotPersistentException: The object of type com.panacya.etm.Transaction is not persistent -- it was not queried or created within this transaction
        at org.exolab.castor.persist.TransactionContext.delete(TransactionContext.java:870)
        at org.exolab.castor.jdo.engine.DatabaseImpl.remove(DatabaseImpl.java:379)
 
Any ideas???
 
-----Original Message-----
From: Russell, Glenn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] modify exception!

Does your persistent class implement the org.exolab.castor.jdo.Timestampable interface?
 
Glenn.
-----Original Message-----
From: Arvind Gudipati [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2001 17:09
To: [EMAIL PROTECTED]
Subject: [castor-dev] modify exception!

What does it mean when i get an exception?
 
java.lang.IllegalArgumentException: A master object that involves in a long transaction must be a TimeStampable!
        at org.exolab.castor.persist.ClassMolder.update(ClassMolder.java:1686)
        at org.exolab.castor.persist.LockEngine.update(LockEngine.java:622)
        at org.exolab.castor.persist.TransactionContext.update(TransactionContext.java:806)
        at org.exolab.castor.jdo.engine.DatabaseImpl.update(DatabaseImpl.java:352)
 
What did i do wrong?

CONFIDENTIALITY NOTICE: E-mail may contain confidential information that is legally protected. Do not read this e-mail if you are not the intended recipient. This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally protected. If you are not the intended recipient or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, by forwarding this to [EMAIL PROTECTED] or by telephone at (877) PANACYA, and destroy the original transmission and its attachments without reading or saving in any manner. Thank you. For information about PANACYA Inc., please visit our website at http://www.panacya.com.

CONFIDENTIALITY NOTICE: E-mail may contain confidential information that is legally protected. Do not read this e-mail if you are not the intended recipient. This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally protected. If you are not the intended recipient or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, by forwarding this to [EMAIL PROTECTED] or by telephone at (877) PANACYA, and destroy the original transmission and its attachments without reading or saving in any manner. Thank you. For information about PANACYA Inc., please visit our website at http://w! ww.panacya.com.

Reply via email to