Merge branch '5.3.x'
# Conflicts: # spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java # spring-context/src/main/java/org/springframework/scripting/support/StandardScriptFactory.java
This commit is contained in:
@@ -50,9 +50,9 @@ import org.springframework.util.function.SupplierUtils;
|
||||
* by default. This factory loads a "sql-error-codes.xml" file from the class path,
|
||||
* defining error code mappings for database names from database meta-data.
|
||||
* <li>Fallback to a fallback translator. {@link SQLStateSQLExceptionTranslator} is the
|
||||
* default fallback translator, analyzing the exception's SQL state only. On Java 6
|
||||
* which introduces its own {@code SQLException} subclass hierarchy, we will
|
||||
* use {@link SQLExceptionSubclassTranslator} by default, which in turns falls back
|
||||
* default fallback translator, analyzing the exception's SQL state only. Since Java 6
|
||||
* which introduces its own {@code SQLException} subclass hierarchy, we use
|
||||
* {@link SQLExceptionSubclassTranslator} by default, which in turns falls back
|
||||
* to Spring's own SQL state translation when not encountering specific subclasses.
|
||||
* </ul>
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2008 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,7 +29,7 @@ import java.sql.SQLTransactionRollbackException;
|
||||
import java.sql.SQLTransientConnectionException;
|
||||
|
||||
/**
|
||||
* Class to generate Java 6 SQLException subclasses for testing purposes.
|
||||
* Class to generate {@link SQLException} subclasses for testing purposes.
|
||||
*
|
||||
* @author Thomas Risberg
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user