I have a problem with transaction and cache. When I create a new object, i save any objects, now i execute rollback of the transaction, i get a following error in the code of the function find:
StackTrace " at AToMSFramework.CCacheCollection.Find(IPersistableObject obj) in C:\Proyectos\dotnet\CCacheEntry.vb:line 641
at AToMSFramework.CPersistenceBroker.retrievePrivateObject(IPersistableObject& obj, _CConnection conn, Boolean useFind, Boolean useCache) in C:\Proyectos\dotnet\CPersistenceBroker.vb:line 307
at AToMSFramework.CPersistenceBroker.retrieveObject(IPersistableObject& obj, Boolean useFind, Boolean useCache) in C:\Proyectos\dotnet\CPersistenceBroker.vb:line 185" String
this error is why the code in line
t = ce.PersistentObject.GetObjectType
of the CCacheEntry. ce.PersistentObject is nothing,
Why?????????????????????
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi.
I have a problem with transaction and cache. When I create a new object, i save any objects, now i execute rollback of the transaction, i get a following error in the code of the function find:
StackTrace " at AToMSFramework.CCacheCollection.Find(IPersistableObject obj) in C:\Proyectos\dotnet\CCacheEntry.vb:line 641
at AToMSFramework.CPersistenceBroker.retrievePrivateObject(IPersistableObject& obj, _CConnection conn, Boolean useFind, Boolean useCache) in C:\Proyectos\dotnet\CPersistenceBroker.vb:line 307
at AToMSFramework.CPersistenceBroker.retrieveObject(IPersistableObject& obj, Boolean useFind, Boolean useCache) in C:\Proyectos\dotnet\CPersistenceBroker.vb:line 185" String
this error is why the code in line
t = ce.PersistentObject.GetObjectType
of the CCacheEntry. ce.PersistentObject is nothing,
Why?????????????????????
The error is after execute rollback. Rollback is correct, but i try recovery a object using find and this is the error. the error is in the cache