mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Fix accidental bypass of registerStoredProcedureParameter
Closes gh-37221
This commit is contained in:
+1
-1
@@ -572,7 +572,7 @@ public abstract class SharedEntityManagerCreator {
|
|||||||
else if (retVal instanceof Query query) {
|
else if (retVal instanceof Query query) {
|
||||||
retVal = adaptQueryProxy(proxy, query, returnType);
|
retVal = adaptQueryProxy(proxy, query, returnType);
|
||||||
}
|
}
|
||||||
else if (method.getName().equals("registerStoredProcedureParameter") && args.length == 3 &&
|
if (method.getName().equals("registerStoredProcedureParameter") && args.length == 3 &&
|
||||||
(args[2] == ParameterMode.OUT || args[2] == ParameterMode.INOUT)) {
|
(args[2] == ParameterMode.OUT || args[2] == ParameterMode.INOUT)) {
|
||||||
if (this.outputParameters == null) {
|
if (this.outputParameters == null) {
|
||||||
this.outputParameters = new LinkedHashMap<>();
|
this.outputParameters = new LinkedHashMap<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user