[Seaside] OnniBase BTree question

Bruno BB (st) smalltalk at adinet.com.uy
Tue Apr 18 15:07:36 UTC 2006

Dmitry Dorofeev escribió

You can also do:

   t := self transaction. "returns current OmniBase transaction"
   tree := t root at: 'sessions'.
   b := BMShopBasket new.
   tree at: v put: b.
   t checkpoint.

If you use anODBBTreeDictionary there's NO need to lock the entire tree 
and you do not have to send #markDirty.
And #at:put: it will do the makePersistent for you.

Regards Bruno

More information about the Seaside mailing list