Menu

Error use cache

2005-04-04
2013-03-07
  • victor Saquicela

    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?????????????????????

     
    • victor Saquicela

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.