Merge branch '6.0.x'
# Conflicts: # spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcOperations.java # spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcTemplate.java # spring-jdbc/src/main/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java
This commit is contained in:
@@ -301,7 +301,7 @@ public abstract class ConnectionFactoryUtils {
|
||||
* @return the innermost target Connection, or the passed-in one if not wrapped
|
||||
* @see Wrapped#unwrap()
|
||||
*/
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
public static Connection getTargetConnection(Connection con) {
|
||||
Object conToUse = con;
|
||||
while (conToUse instanceof Wrapped wrapped) {
|
||||
|
||||
@@ -513,7 +513,7 @@ abstract class NamedParameterUtils {
|
||||
this.parameterSource = parameterSource;
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
public void bind(BindTarget target, String identifier, Parameter parameter) {
|
||||
List<BindMarker> bindMarkers = getBindMarkers(identifier);
|
||||
if (bindMarkers == null) {
|
||||
|
||||
Reference in New Issue
Block a user