openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <f...@alum.mit.edu>
Subject Mysql Connector/J ReplicantConnection
Date Thu, 05 Mar 2009 20:30:17 GMT
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
View raw message