Hi.
I have a problem with rollback transaction. When I begin a transaction and save any objects, then cancel the transaction, i execute rollback. This is correct in database, but when I execute a cursor, load a object and execute a find of the object to load association, I have a following error in the next code in the method find of the CCacheEntry class:
Informacin adicional: Referencia a objeto no establecida como instancia de un objeto.
Inner Exception message : Referencia a objeto no establecida como instancia de un objeto.
the problem is why in the lines:
Dim m_Enumerator As Collections.IEnumerator = Me.GetEnumerator()
While m_Enumerator.MoveNext()
x = m_Enumerator.Current
ce = x.Value
t = ce.PersistentObject.GetObjectType
If t Is obj.GetObjectType Or t.IsSubclassOf(obj.GetObjectType) Then
the object is nothing ce.PersistentObject
To solve this problem now, each that execute a rollback, I am executed clearcache. But it isn't idea. I lost all cache.
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 rollback transaction. When I begin a transaction and save any objects, then cancel the transaction, i execute rollback. This is correct in database, but when I execute a cursor, load a object and execute a find of the object to load association, I have a following error in the next code in the method find of the CCacheEntry class:
Informacin adicional: Referencia a objeto no establecida como instancia de un objeto.
Inner Exception message : Referencia a objeto no establecida como instancia de un objeto.
the problem is why in the lines:
Dim m_Enumerator As Collections.IEnumerator = Me.GetEnumerator()
While m_Enumerator.MoveNext()
x = m_Enumerator.Current
ce = x.Value
t = ce.PersistentObject.GetObjectType
If t Is obj.GetObjectType Or t.IsSubclassOf(obj.GetObjectType) Then
the object is nothing ce.PersistentObject
To solve this problem now, each that execute a rollback, I am executed clearcache. But it isn't idea. I lost all cache.