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
This commit is contained in:
Stéphane Nicoll
2023-10-04 13:17:35 +02:00

View File

@@ -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 @@
- 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">