You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by fa...@apache.org on 2010/07/19 19:15:47 UTC
svn commit: r965562 -
/openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/sql-error-state-codes.xml
Author: faywang
Date: Mon Jul 19 17:15:47 2010
New Revision: 965562
URL: http://svn.apache.org/viewvc?rev=965562&view=rev
Log:
OPENJPA-1726: fix Postgres sql error state code so that EntityExistException can be properly thrown.
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=965562&r1=965561&r2=965562&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 Mon Jul 19 17:15:47 2010
@@ -183,8 +183,8 @@
<dictionary class="org.apache.openjpa.jdbc.sql.PostgresDictionary">
<lock>55P03,40P01</lock>
- <referential-integrity>23000,23502,23503,23505,23514</referential-integrity>
- <object-exists></object-exists>
+ <referential-integrity>23000,23502,23503,23514</referential-integrity>
+ <object-exists>23505</object-exists>
<object-not-found></object-not-found>
<optimistic>55P03</optimistic>
<query>57014</query>