Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv29146
Modified Files:
dbproviders.xml
Log Message:
Add additonal db error codes for exception translation for Oracle and MySql providers
Index: dbproviders.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Data/Data/Common/dbproviders.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** dbproviders.xml 3 Apr 2008 04:55:21 -0000 1.34
--- dbproviders.xml 3 Apr 2008 05:06:35 -0000 1.35
***************
*** 262,276 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1,1400,1722,2291</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
<value>54</value>
</property>
- <property name="ErrorCodes.DeadlockLoserCodes">
- <value>60</value>
- </property>
<property name="ErrorCodes.CannotSerializeTransactionCodes">
<value>8177</value>
</property>
</object>
</constructor-arg>
--- 262,276 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1,1400,1722,2291,2292</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
<value>54</value>
</property>
<property name="ErrorCodes.CannotSerializeTransactionCodes">
<value>8177</value>
</property>
+ <property name="ErrorCodes.DeadlockLoserCodes">
+ <value>60</value>
+ </property>
</object>
</constructor-arg>
***************
*** 364,368 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
--- 364,368 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
***************
*** 406,410 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
--- 406,410 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
***************
*** 452,456 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1062,1169,1215,1216,1217,1451,1452</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
--- 452,456 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
***************
*** 494,498 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1062,1169,1215,1216,1217,1451,1452</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
--- 494,498 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
***************
*** 539,543 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
--- 539,543 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
***************
*** 581,585 ****
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
--- 581,585 ----
</property>
<property name="ErrorCodes.DataIntegrityViolationCodes">
! <value>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</value>
</property>
<property name="ErrorCodes.CannotAcquireLockCodes">
|