Re: Object-relational mapping tool

From: Daniel Parker (danielaparker_at_spam?nothanks.windupbird.com)
Date: 03/17/04


Date: Tue, 16 Mar 2004 21:03:03 -0500


"Rich MacDonald" <rich@@clevercaboose.com> wrote in message
news:Xns94AEB9E9AC644richclevercaboosecom@24.94.170.86...
>
> Daniel, I use Toplink extensively and I would be happy to talk to you
about
> this...

Okay :-) Do you mind if I start with the issue of caching?

Last time I used TopLink was about four years ago. We were using it in its
default configuration. In this configuration it had a process that was
caching. If somebody performed an update on a table, unknown to TopLink,
and my program attempted to get an object that was bound to that table, I
would get the old data, not the updated data. As I recall, it was not that
easy to turn caching off, although I believe there were work arounds. For
me, this is an example of a tool doing too much, doing favors that are not
helpful or wished for.

I hope you will tell me that this is no longer the behaviour you get with
the default configuration of TopLink. My own view is that caching does not
belong at all in a tool concerned with object-relational mapping. Do you
agree? Disagree?

Regards,
Daniel



Relevant Pages

  • Re: Object-relational mapping tool
    ... >> 4) I absolutely disagree that caching is a tool that does not belong ... there is no mapping performance hit. ... As for Toplink, there is an instance in memory snapshotting the state ... This can occur across multiple ...
    (comp.object)
  • Re: Object-relational mapping tool
    ... >> Last time I used TopLink was about four years ago. ... In this configuration it had a process ... >> recall, it was not that easy to turn caching off, although I believe ... We avoid the gui and configure Toplink programmatically these days. ...
    (comp.object)
  • Re: Object-relational mapping tool
    ... "Daniel Parker" wrote in ... > Last time I used TopLink was about four years ago. ... > recall, it was not that easy to turn caching off, although I believe ... > object-relational mapping. ...
    (comp.object)