db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1398223 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/ExceptionMapperImpl.java
Date Mon, 15 Oct 2012 08:58:40 GMT
Author: tfischer
Date: Mon Oct 15 08:58:40 2012
New Revision: 1398223

URL: http://svn.apache.org/viewvc?rev=1398223&view=rev
Log:
tested mssql exception translation

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/ExceptionMapperImpl.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/ExceptionMapperImpl.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/ExceptionMapperImpl.java?rev=1398223&r1=1398222&r2=1398223&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/ExceptionMapperImpl.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/ExceptionMapperImpl.java
Mon Oct 15 08:58:40 2012
@@ -42,7 +42,7 @@ public class ExceptionMapperImpl extends
         }
         if (StringUtils.equals(sqlException.getSQLState(), "40001"))
         {
-            // mysql, derby
+            // mysql, derby, mssql
             return new DeadlockException(sqlException);
         }
         if (StringUtils.equals(sqlException.getSQLState(), "40P01"))



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message