yes it does! Thanks! Sabine :-)
On Thu, Sep 19, 2013 at 1:41 PM, EstebanLM [via Smalltalk] < [email protected]> wrote: > VORepository current > > should be an instance of VOMongoRepository, not the class > so, it should not be the same... and it should clean everything. > > Esteban > > On Sep 19, 2013, at 12:50 PM, Sabine Knöfel <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4709144&i=0>> > wrote: > > Hi Esteban, > > in my image, the result of > VORepository current is ==>> VOMongoRepository > > so, > > VORepository current reset. > it is the same as > VOMongoRepository reset > > Cheers > Sabine > > > On Thu, Sep 19, 2013 at 12:24 PM, EstebanLM [via Smalltalk] <<a > href="x-msg://9891/user/SendEmail.jtp?type=node&node=4709134&i=0" > target="_top" rel="nofollow" link="external">[hidden email]> wrote: > >> Hi Sabine, >> >> The right message to reset is: >> >> VORepository current reset. >> >> I don't know what "VOMongoRepository reset" does (I need to check it) :P >> >> Cheers, >> Esteban >> >> >> On Sep 19, 2013, at 11:38 AM, Sabine Knöfel <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=4709130&i=0>> >> wrote: >> >> > Hi Esteban, all, >> > >> > in the mongo/voyage tutorial at ESUG, I understood, that >> > >> > "VOMongoRepository reset" can be used instead of >> > "VOMongoRepository allInstancesDo: #reset". >> > and the code looks like that ( flush...) >> > >> > It seems that I can't - I think, using "VOMongoRepository reset" does >> _not_ >> > reset the cache. >> > So, the objects are not read new from database. >> > Voyage does not enter the <mongoDescription> methods. >> > >> > This is not a problem for me, I can also use "VOMongoRepository >> > allInstancesDo: #reset", but I want to tell you about that. >> > >> > To reproduce I did the following, >> > 1) read objects from mongo (ClassXXX readAll) >> > 2) put halt in one of the <mongoDescription> methods >> > 3 a) do "VOMongoRepository reset" and then (ClassXXX readAll) again -> >> no >> > debugger >> > 3 b) do "VOMongoRepository allInstancesDo: #reset" and then (ClassXXX >> > readAll) again -> debugger comes up >> > ==> so, 3a does not work, 3b works >> > >> > Regards >> > Sabine >> > >> > >> > >> > -- >> > View this message in context: >> http://forum.world.st/voyage-mongo-reset-vs-allInstancesDo-reset-tp4709120.html >> > Sent from the Pharo Smalltalk Developers mailing list archive at >> Nabble.com. >> > >> >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the >> discussion below: >> >> http://forum.world.st/voyage-mongo-reset-vs-allInstancesDo-reset-tp4709120p4709130.html >> To unsubscribe from voyage/mongo reset vs. allInstancesDo: #reset, <a >> href="x-msg://9891/" target="_blank" rel="nofollow" link="external">click >> here. >> NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > ------------------------------ > View this message in context: Re: voyage/mongo reset vs. allInstancesDo: > #reset<http://forum.world.st/voyage-mongo-reset-vs-allInstancesDo-reset-tp4709120p4709134.html> > Sent from the Pharo Smalltalk Developers mailing list > archive<http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html>at > Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://forum.world.st/voyage-mongo-reset-vs-allInstancesDo-reset-tp4709120p4709144.html > To unsubscribe from voyage/mongo reset vs. allInstancesDo: #reset, click > here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4709120&code=c2FiaW5lLmtub2VmZWxAZ21haWwuY29tfDQ3MDkxMjB8MTA0OTM5MTYx> > . > NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.world.st/voyage-mongo-reset-vs-allInstancesDo-reset-tp4709120p4709147.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
