openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r932027 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
Date Thu, 08 Apr 2010 17:42:08 GMT
Author: dwoods
Date: Thu Apr  8 17:42:08 2010
New Revision: 932027

URL: http://svn.apache.org/viewvc?rev=932027&view=rev
Log:
OPENJPA-1616 add comment

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=932027&r1=932026&r2=932027&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
Thu Apr  8 17:42:08 2010
@@ -426,6 +426,7 @@ public class MySQLDictionary
     @Override
     protected int matchErrorState(Map<Integer,Set<String>> errorStates, SQLException
ex) {
         int state = super.matchErrorState(errorStates, ex);
+        // OPENJPA-1616 - Special case for MySQL not returning a SQLState for timeouts
         if (state == StoreException.GENERAL && ex.getErrorCode() == 0 &&
ex.getSQLState() == null) {
             // look at the nested MySQL exception for more details
             SQLException sqle = ex.getNextException();



Mime
View raw message