Hello.
I have the next error when add a component to vector X.
 
org.exolab.castor.jdo.ObjectNotPersistentException: The object of type java.util.Vector 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)
 
Mapping class Product:
 
    <field name="details"
     type="model.Details"
              required="false"   
              collection="vector">
      <sql many-key="idDetails"
             many-table="productDetails"
             name="idProducts"/>
    </field>
 
What is the problem ??
Thank you!!
 
 
------------------------------------------------------------
Federico E. Carpi
LIFIA - Laboratorio de Investigaci�n
y Formaci�n en Inform�tica Avanzada
Facultad de Inform�tica - UNLP
(54) 221 4228252 int 39
La Plata - Buenos Aires - Argentina
------------------------------------------------------------

Reply via email to