I think I've correctly setup lazy lady, but I keep getting this error when querying objects with lazied collections:
java.lang.NullPointerException
at org.exolab.castor.persist.TransactionContext.markCreate(TransactionContext.java:695)
at org.exolab.castor.persist.ClassMolder.preStore(ClassMolder.java:1332)
at org.exolab.castor.persist.LockEngine.preStore(LockEngine.java:723)
at org.exolab.castor.persist.TransactionContext.prepare(TransactionContext.java:1403)
at org.exolab.castor.jdo.engine.DatabaseImpl.commit(DatabaseImpl.java:507)
at test.doGet(test.java:45)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind._bxb._crd(.:501)
at com.evermind._bxb._ukb(.:170)
at com.evermind._cn._uab(.:576)
at com.evermind._cn._fm(.:189)
My mapping is simply:
...
<field name="Person" type="Person" lazy="true" collection="collection" required="false">
<sql many-key="PersonID" />
<xml name="Persons" node="element" />
</field>
Any suggestions?? I could really use any friendly advice.
Thanks
Do You Yahoo!?
Yahoo! Auctions Great stuff seeking new owners! Bid now!
