All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.openjpa.jdbc.sql.sql-error-state-codes.xml Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.   
-->
<!-- ======================================================================= -->
<!-- Lists SQL Error State codes for specific type of faults per database    -->
<!-- dictionary.                                                             -->
<!-- SQL Exceptions raised by JDBC should carry standard error state code    -->
<!-- but they hardly do. Hence, the error state codes for specific type of   -->
<!-- database error can be listed here. These codes help to narrow down the  -->
<!-- cause of failure at JDBC layer and bubbles up as more intelligible      -->
<!-- exception to the application.                                           -->
<!-- ======================================================================= -->
<sql-state-codes>

	<dictionary class="org.apache.openjpa.jdbc.sql.DB2Dictionary">
		<lock>40001,57033,57011,57014</lock>
		<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>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.DerbyDictionary">
		<lock>40001,40XL1,40XL2</lock>
		<referential-integrity>22001,22005,23502,23503,23513,X0Y32</referential-integrity>
		<object-exists>23505</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query>XCL52</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.SQLServerDictionary">
		<lock>1204,1205,1222,HY008,HYT00,40001</lock>
		<referential-integrity>544,2601,2627,8114,8115</referential-integrity>
		<object-exists>23000</object-exists>
		<object-not-found></object-not-found>
		<optimistic>1205</optimistic>
		<query>HY008,HYT00</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.SybaseDictionary">
		<lock>1204,1205,1279, JZ006</lock>
		<referential-integrity>423,511,515,530,547,2601,2615,2714</referential-integrity>
		<object-exists>23000</object-exists>
		<object-not-found></object-not-found>
		<optimistic>1205,1222</optimistic>
		<query>611</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.AccessDictionary">
		<lock>40001</lock>
		<referential-integrity>22001,22005,23502,23503,23513,X0Y32</referential-integrity>
		<object-exists>23505,456c</object-exists>
		<object-not-found></object-not-found>
		<optimistic>40XL1,40001</optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.CacheDictionary">
		<lock>40001,40XL1,40XL2</lock>
		<referential-integrity>22001,22005,23502,23503,23513,X0Y32</referential-integrity>
		<object-exists>23505,456c</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query>XCL52</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.EmpressDictionary">
		<lock>40001</lock>
		<referential-integrity>22001,22005,23502,23503,23513,X0Y32</referential-integrity>
		<object-exists>23505,456c</object-exists>
		<object-not-found></object-not-found>
		<optimistic>40XL1,40001</optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.FoxProDictionary">
		<lock>1222,1599,40001</lock>
		<referential-integrity>22001,22005,23502,23503,23513,X0Y32</referential-integrity>
		<object-exists>23505,456c</object-exists>
		<object-not-found></object-not-found>
		<optimistic>40XL1,40001</optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.H2Dictionary">
		<lock>HYT00,57014</lock>
		<referential-integrity>22001,22003,22012,22018,22025,23502,23503,23506,23507,23513,23000,23002,23003</referential-integrity>
		<object-exists>23001,23505</object-exists>
		<object-not-found>02000</object-not-found>
		<optimistic></optimistic>
		<query>90031,57014</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.HSQLDictionary">
		<lock></lock>
		<referential-integrity>-9</referential-integrity>
		<object-exists>23000,23505</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.InformixDictionary">
		<lock>-143,-154</lock>
		<referential-integrity>-239,-268,-692,-11030</referential-integrity>
		<object-exists></object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query>IX000</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.InterbaseDictionary">
		<lock></lock>
		<referential-integrity></referential-integrity>
		<object-exists></object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.FirebirdDictionary">
		<lock>335544336</lock>
		<referential-integrity></referential-integrity>
		<object-exists>335544665</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.JDataStoreDictionary">
		<lock></lock>
		<referential-integrity></referential-integrity>
		<object-exists></object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.MySQLDictionary">
		<lock>41000</lock>
		<referential-integrity>630,839,840,893,1062,1169,1215,1216,1217,1451,1452,1557</referential-integrity>
		<object-exists>23000</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query>70100</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.OracleDictionary">
		<lock>42000,61000,72000</lock>
		<referential-integrity>1,1400,1722,2291,2292</referential-integrity>
		<object-exists>23000</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query>72000</query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.PointbaseDictionary">
		<lock></lock>
		<referential-integrity>22001,22005,23502,23503,23513,X0Y32</referential-integrity>
		<object-exists></object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query></query>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.PostgresDictionary">
		<lock>55P03,40P01</lock>
		<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>
	</dictionary>
	
	<dictionary class="org.apache.openjpa.jdbc.sql.SolidDBDictionary">
		<lock>HY000</lock>
		<referential-integrity></referential-integrity>
		<object-exists>23000</object-exists>
		<object-not-found></object-not-found>
		<optimistic></optimistic>
		<query></query>
	</dictionary>

</sql-state-codes>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy