openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtyle...@apache.org
Subject svn commit: r764733 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
Date Tue, 14 Apr 2009 10:47:57 GMT
Author: mtylenda
Date: Tue Apr 14 10:47:56 2009
New Revision: 764733

URL: http://svn.apache.org/viewvc?rev=764733&view=rev
Log:
OPENJPA-966: Added missing super call from within MySQLDictionary.decorate(Connection) method.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java?rev=764733&r1=764732&r2=764733&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
Tue Apr 14 10:47:56 2009
@@ -147,6 +147,7 @@
     }
 
     public Connection decorate(Connection conn)  throws SQLException {
+        conn = super.decorate(conn);
         String driver = conf.getConnectionDriverName();
         if ("com.mysql.jdbc.ReplicationDriver".equals(driver))
             conn.setReadOnly(true);



Mime
View raw message