You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by al...@apache.org on 2009/03/19 23:27:46 UTC

svn commit: r756238 - /openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml

Author: allee8285
Date: Thu Mar 19 22:27:45 2009
New Revision: 756238

URL: http://svn.apache.org/viewvc?rev=756238&view=rev
Log:
OPENJPA-992 - Correct proper DB2 SQLState to EntityExistsException translation.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml

Modified: openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml?rev=756238&r1=756237&r2=756238&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml Thu Mar 19 22:27:45 2009
@@ -30,8 +30,8 @@
 
 	<dictionary class="org.apache.openjpa.jdbc.sql.DB2Dictionary">
 		<lock>40001,57033</lock>
-		<referential-integrity>23502,42912,23001,23504,23511,23512,23513,23515,23520,23505</referential-integrity>
-		<object-exists></object-exists>
+		<referential-integrity>23502,42912,23001,23504,23511,23512,23513,23515,23520</referential-integrity>
+		<object-exists>23505</object-exists>
 		<object-not-found></object-not-found>
 		<optimistic></optimistic>
         <query>57014</query>