Thank you for your response. I am issuing a new query, that is not
returning updated data.

Thanks, David

On Dec 20, 5:39 am, Gaetan de Menten <[email protected]> wrote:
> On Sat, Dec 19, 2009 at 16:17, DavidG <[email protected]> wrote:
> > I am having a problem where I have an application that uses elixir on
> > top of a database that can be updated by another application. If i
> > don't do a full restart of the first application it does not seem to
> > pickup the database changes.
>
> > I have tried all of the following:
> >    session.remove()
> >    session.expunge_all()
> >    session.close_all()
> >    session.expire_all()
> >    session.clear()
> >    session.flush()
> >    session.close()
>
> > I have also tried to reload the module that is being called...
>
> Do you know that the in-memory objects (within the session or not) are
> never automatically updated with the changes in the database? You have
> to do session.query or session.merge.
>
> Other than that, does the other application commit its changes?
>
> Hope it helps,
> --
> Gaëtan de Mentenhttp://openhex.org

--

You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en.


Reply via email to