mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Avoid logger serialization behind shared EntityManager proxy
See gh-34084
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ public abstract class SharedEntityManagerCreator {
|
||||
@SuppressWarnings("serial")
|
||||
private static class SharedEntityManagerInvocationHandler implements InvocationHandler, Serializable {
|
||||
|
||||
private final Log logger = LogFactory.getLog(getClass());
|
||||
private static final Log logger = LogFactory.getLog(SharedEntityManagerInvocationHandler.class);
|
||||
|
||||
private final EntityManagerFactory targetFactory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user