Other Solution:
OmniBaseSession
reloadObject: anObject
| reloadedObject |
transaction removeCachedObjectID: anObject objectId.
reloadedObject := self objectAt: anObject objectId.
^reloadedObject transaction: transaction
> My solution:
>
> OmniBaseSession
> reloadObject: anObject
> | reloadedObject |
>
> transaction cacheTransactionObject: ((transaction objectHolderAt: anObject
> objectId) getObject makeTransactionObject: transaction).
> reloadedObject := self objectAt: anObject objectId.
> ^reloadedObject transaction: transaction " because #odbLoadedIn: is not
> called "
>
> Does anyone see any problem ? Or anything ?
>
> Regards Bruno
>
>