You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/10/15 10:58:40 UTC

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

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