Login  Register

SIXX Object context

Posted by GLASS mailing list on Nov 30, 2018; 11:33am
URL: https://forum.world.st/SIXX-Object-context-tp5089878.html

Ciao,

        i work with SIXX to save objects data from Pharo

                and load these data in another Pharo version or into Gemstone database.


        Now SIXX cannot store/load context object.

        But i have some SortedCollection instances with relative sortBlock.

       
       
        I think to manage this problematic with:

                1) define in the class method the  method:

                                defaultSortBlock

                                        ^ self evaluate: ' [ a: b: | a data >= b data ]'

                2) when access to the sortedCollection instance

                                i testing se the relative sortBlock is not setting and do:

                                        aSortedCollection sortBlock ifNil:[ aSortedCollection sortBlock: self class defaultSortBlock ]

               
        It's right ?

        How should I behave in these cases?

        I have seen that a relative problematic also concerns the update  at a new version of gemstone,

                but in this case i have the source code of the sortBlock and  i need only to recompile it.

        Thanks for considerations,

                Dario

       


 
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass