Yes, some significant changes has made to the CVS since 0.9.3. It is written
to make create() better respect the integrity checks of database (foreign
key, and not null). CVS version walks the node to be created first and then
create the row to the table in pre-determined order, to avoid violation of
the integrity.
Anyway, can you make some problematic test available to me. Hopefully,
today... otherwise...
Sorry for rushing you. :-P
Thomas
-----Original Message-----
>From: Matthew Baird [mailto:[EMAIL PROTECTED]]
>Sent: Friday, September 21, 2001 1:50 PM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] Error with current CVS version of castor
>
>Hi, I am running castor inside JBoss using the MBean implementation
provided
>by the castor folks. Our application uses castor to the extreme, and we've
>built a set of junit tests we certify builds against. With castor0.9.2 we
>run 100%, no errors. With the current cvs snapshot we're starting to see
>rollbacks when trying to update objects.
>
>calendaryears refer to periods and periods refer to calendaryears. This was
>not a problem with 0.9.2.
>
>I just tested and our code tests 100% no errors with the release version of
>0.9.3. I'm assuming this change in functionality (bug?) was added since the
>release of 0.9.3
>
>[CastorJDOImpl] org.exolab.castor.jdo.PersistenceException: Object,
>com.againtech.ce.calendar.PeriodImpl@531380, links t
>o another object, com.againtech.ce.calendar.CalendarYearImpl@254a1a that is
>not loaded/updated/created in this transacti
>on
>[CastorJDOImpl] at
>org.exolab.castor.persist.ClassMolder.preStore(ClassMolder.java:1267)
>[CastorJDOImpl] at
>org.exolab.castor.persist.LockEngine.preStore(LockEngine.java:724)
>[CastorJDOImpl] at
>org.exolab.castor.persist.TransactionContext.prepare(TransactionContext.jav
a
>:1358)
>[CastorJDOImpl] at
>org.exolab.castor.jdo.engine.DatabaseImpl.beforeCompletion(DatabaseImpl.jav
a
>:542)
>[CastorJDOImpl] at
>org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1210)
>[CastorJDOImpl] at
org.jboss.tm.TxCapsule.commit(TxCapsule.java:304)
>[CastorJDOImpl] at
>org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:76)
>[CastorJDOImpl] at
>org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT