Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 75886 invoked from network); 8 Mar 2009 15:54:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2009 15:54:25 -0000 Received: (qmail 90433 invoked by uid 500); 8 Mar 2009 15:54:25 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 90394 invoked by uid 500); 8 Mar 2009 15:54:24 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 90382 invoked by uid 99); 8 Mar 2009 15:54:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 08:54:24 -0700 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,FS_REPLICA,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 15:54:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1E98D234C48C for ; Sun, 8 Mar 2009 08:53:56 -0700 (PDT) Message-ID: <1140026433.1236527636117.JavaMail.jira@brutus> Date: Sun, 8 Mar 2009 08:53:56 -0700 (PDT) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-966) Support Replication-enabled MySQL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Support Replication-enabled MySQL ----------------------------------- Key: OPENJPA-966 URL: https://issues.apache.org/jira/browse/OPENJPA-966 Project: OpenJPA Issue Type: New Feature Components: jdbc Affects Versions: 2.0.0-M1, 2.0.0 Environment: MySQL Reporter: Pinaki Poddar Assignee: Pinaki Poddar Fix For: 2.0.0-M1, 2.0.0 Starting with Connector/J 3.1.7, a MySQL JDBC driver is available [2] that will automatically send queries to a read/write master, or a failover or round-robin loadbalanced set of slaves based on the state of Connection.getReadOnly() . OpenJPA can take advantage of this driver by setting up read-only property of the connection based on the dirty nature of the current transaction [1]. [1] http://n2.nabble.com/Mysql-Connector-J-ReplicantConnection-tc2431984.html [2] http://dev.mysql.com/doc/refman/5.1/en/connector-j-reference-replication-connection.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.