Browse Source

Merge pull request #31354 from ralph-riedel

* pr/31354:
  Polish "Use schema-based config in sql-error-codes.xml"
  Use schema-based config in sql-error-codes.xml

Closes gh-31354
pull/29430/head
Stéphane Nicoll 2 years ago
parent
commit
37d03e536f
  1. 7
      spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml

7
spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "https://www.springframework.org/dtd/spring-beans-2.0.dtd">
<!--
- Default SQL error codes for well-known databases.
- Can be overridden by definitions in a "sql-error-codes.xml" file
@ -12,7 +10,10 @@ @@ -12,7 +10,10 @@
- If this property is present, then it will be used instead of the id for
- looking up the error codes based on the current database.
-->
<beans>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
https://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="DB2" name="Db2" class="org.springframework.jdbc.support.SQLErrorCodes">
<property name="databaseProductName">

Loading…
Cancel
Save