Skip to content

Commit 37d03e5

Browse files
committed
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
2 parents 28c9761 + 61f27da commit 37d03e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "https://www.springframework.org/dtd/spring-beans-2.0.dtd">
3-
42
<!--
53
- Default SQL error codes for well-known databases.
64
- Can be overridden by definitions in a "sql-error-codes.xml" file
@@ -12,7 +10,10 @@
1210
- If this property is present, then it will be used instead of the id for
1311
- looking up the error codes based on the current database.
1412
-->
15-
<beans>
13+
<beans xmlns="http://www.springframework.org/schema/beans"
14+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15+
xsi:schemaLocation="http://www.springframework.org/schema/beans
16+
https://www.springframework.org/schema/beans/spring-beans.xsd">
1617

1718
<bean id="DB2" name="Db2" class="org.springframework.jdbc.support.SQLErrorCodes">
1819
<property name="databaseProductName">

0 commit comments

Comments
 (0)