You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Brian McCallister <mc...@forthillcompany.com> on 2004/07/23 15:42:59 UTC
[RT] Cache Aware JDBC Driver/DataSource
I haven't explored the various existing JDBC proxy drivers enough to
know which would be easiest to use, or if implementing one would be,
but a potential way of solving a number of dirty-cache issues might be
to somewhere provide a JDBC Driver/DataSource which understands OJB
metadata and can interact with the OJB cache in order to dirty things
it sees pass through.
Anything talking raw JDBC can then use this driver, which delegates to
the real driver, and is cache aware so can dirty the cache =)
-Brian
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
Re: [RT] Cache Aware JDBC Driver/DataSource
Posted by Thomas Dudziak <to...@first.fhg.de>.
Brian McCallister wrote:
> I haven't explored the various existing JDBC proxy drivers enough to
> know which would be easiest to use, or if implementing one would be,
> but a potential way of solving a number of dirty-cache issues might be
> to somewhere provide a JDBC Driver/DataSource which understands OJB
> metadata and can interact with the OJB cache in order to dirty things
> it sees pass through.
>
> Anything talking raw JDBC can then use this driver, which delegates to
> the real driver, and is cache aware so can dirty the cache =)
Have you checked with the commons-dbcp guys ? Perhaps there is some hook
in the dbcp Api ?
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org