mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 14:09:25 +00:00
fixed scoped proxy unwrapping (SPR-6625)
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ public abstract class TransactionSynchronizationUtils {
|
||||
}
|
||||
if (aopAvailable) {
|
||||
// now unwrap scoped proxy
|
||||
resourceRef = ScopedProxyUnwrapper.unwrapIfNecessary(resource);
|
||||
resourceRef = ScopedProxyUnwrapper.unwrapIfNecessary(resourceRef);
|
||||
}
|
||||
return resourceRef;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user