Hi,
More information:
I am using JBoss. The following is done within a method.
And the method have declared Required Transaction.
thx!
--
Anthony
>
> Hi,
>
> We encounter a problem when using a session bean to
> query data objects from castor and then remove it by
> simply passing the object to the remove method of
> Database object. But it cause the following exception:
>
> [Default] null: Nested exception of
> com.yesasia.erp.framework.JDOException: Unable to remove entity:
> org.exolab.castor.jdo.ObjectNotPersistentException: The object of type
> com.yesas
> ia.erp.domains.PurchaseOrderRequest is not persistent -- it was not
queried
> or
> created within this transaction
>
> Could anyone tell me what do I done wrong?
> Thx~
>
> --
> Anthony
>
> -----------------------------------------------------------
> 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