Hi Ketan, > > Thomas, > > I was wondering if you'd been able to determine the right way > to proceed > with this.
I hope to fix the problem within the next 3 weeks. > If I understood correctly before, the JDO layer is broken > and has been for some time. But that can't be right, since > other people > are using JDO. It's not really broker. you can use it and insert and update objects. The JDO tutorial application is running without problems! The only problem seems to be that I did not manage to transfer the correct state information during the retrieval of extents. Only if you rely on this state information you'll get problems... > Regardless, I hope you find the solution; > it's kind of > hard to use JDO when it's read-only :-). Thanks. it stays on my todo list untils it's fixed! cheers, Thomas > > > Thomas Mahler wrote: > > Hi Ketan, > > > > Ketan Gangatirkar wrote: > > > >> > >> Thomas, > >> > >> I've been stepping through the OBJ JDO and JDORI code. I have > >> determined that the PersistenceCapable objects never are > assigned a > >> StateManager (member jdoStateManager) when they are > assembled from a > >> row result. > > > > > > That's exactly the problem! I'm currently researching how > to solve this > > issue. > > > >> When an object is created and persisted, it does get assigned a > >> StateManager, but I see no corresponding assignment for objects > >> fetched from the DB. > > > > > > I does does happen when objects are retrieved by Identity in > > OjbStoreManager.fetch. > > > > But it does not happen when loading object via a query or a > whole Extent. > > > > I'm currently trying to implement the StateManager assignment in > > OjbExtent too. But it's not as easy as I hoped... > > > > I'll need a closer look at the JDORI again... > > > > cheers, > > Thomas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
