What is the meaning of this error message and how can i solve it?

<field name="detail" type="com.esuria.erp.store.StockDetail"
           required="true" collection="arraylist" direct="false" 
lazy="false">
                <sql many-table="product"
                        many-key="stockid"/>
    </field>



org.exolab.castor.jdo.ObjectNotPersistentException: The object of type 
java.util.ArrayList is not persistent -- it was not queried or created 
within this transaction

        at 
org.exolab.castor.persist.TransactionContext.writeLock(TransactionContext.java:886)

        at org.exolab.castor.persist.ClassMolder.preStore(ClassMolder.java:1368)

        at org.exolab.castor.persist.LockEngine.preStore(LockEngine.java:697)

        at 
org.exolab.castor.persist.TransactionContext.prepare(TransactionContext.java:1071)

        at org.exolab.castor.jdo.engine.DatabaseImpl.commit(DatabaseImpl.java:469)


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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

Reply via email to