Jon,
trying to addres things one by one.
Werner
Jon Wilmoth wrote:
I'm getting the following error while trying to run a read-only query.
I haven't been able to do much research of my own since the 1.1.2.1
release I'm using doesn't have the JDO source available (or the related
javadocs). The object I'm trying to query has a collection property of
other another castor mapped object as well as two other 1-to-1
properties to other castor mapped objects. None of those properties are
being explicitely loaded and all castor mapped properties are marked as
lazy="true" in the castor mappings. Any pointers on what might cause a
read-only query to fail like this are appreciated. On a related note,
can the release process include the JDO source and javadocs?
The sources for the 1.1.2.1 are available and always have been available at
http://repository.codehaus.org/org/codehaus/castor/castor-jdo/1.1.2.1/
Having said that, it looks like you are looking somewhere else. Where,
if I may ask ?
Finally
can the current release be reposted with JDO source and javadocs?
Caused by:
java.lang.IllegalStateException: Transaction
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> does not
hold the read lock:
com.apex.mytracker.app.workout.WorkoutExercise/<1(1)>/0 -/-!
at
org.exolab.castor.persist.LockEngine$TypeInfo.assure(LockEngine.java:1353)
at
org.exolab.castor.persist.LockEngine$TypeInfo.access$600(LockEngine.java:1102)
at org.exolab.castor.persist.LockEngine.preStore(LockEngine.java:766)
at
org.castor.persist.AbstractTransactionContext.prepare(AbstractTransactionContext.java:1198)
at
org.exolab.castor.jdo.engine.LocalDatabaseImpl.commit(LocalDatabaseImpl.java:169)
at
com.apex.mytracker.app.AbstractBusinessObject.releaseDatabase(AbstractBusinessObject.java:116)
at
com.apex.mytracker.app.AbstractBusinessObject.handleOQLQueryResults(AbstractBusinessObject.java:675)
at
com.apex.mytracker.app.AbstractBusinessObject.executeFind(AbstractBusinessObject.java:590)
at
com.apex.mytracker.app.AbstractBusinessObject.internalFindByProperties(AbstractBusinessObject.java:525)
Thanks,
Jon
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email