Is
there a way to delete an object which is queried in a different
transaction??
Im
getting the following exception when im trying to use the
Database.remove(Object) method.
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)
Is
there any other way to delete/remove an object?
Thanks,
Arvind
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.