openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: Mysql Connector/J ReplicantConnection
Date Thu, 05 Mar 2009 20:42:59 GMT
I don't believe OpenJPA does this automatically right now. It sounds
promising to me though and would make for a good feature to add.

-mike

On Thu, Mar 5, 2009 at 2:30 PM, Fernando Padilla <fern@alum.mit.edu> wrote:

> Have you heard of this?
>
>
> http://dev.mysql.com/doc/refman/5.1/en/connector-j-reference-replication-connection.html
>
> I was wondering if OpenJPA was good at calling the Connection.setReadOnly()
> method as appropriate ( true when new connection, false once transaction is
> started )??
>
> If OpenJPA did so, then anyone could use the Mysql Replication Connector,
> and get some easy distribution of read queries to replicants, without any
> application changes..
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message