fixed scoped proxy unwrapping (SPR-6625)

master
Juergen Hoeller 15 years ago
parent e328083d11
commit 9ca6003533
  1. 2
      org.springframework.transaction/src/main/java/org/springframework/transaction/support/TransactionSynchronizationUtils.java

@ -67,7 +67,7 @@ public abstract class TransactionSynchronizationUtils {
} }
if (aopAvailable) { if (aopAvailable) {
// now unwrap scoped proxy // now unwrap scoped proxy
resourceRef = ScopedProxyUnwrapper.unwrapIfNecessary(resource); resourceRef = ScopedProxyUnwrapper.unwrapIfNecessary(resourceRef);
} }
return resourceRef; return resourceRef;
} }

Loading…
Cancel
Save