Merge branch '5.3.x'
This commit is contained in:
@@ -228,10 +228,10 @@ public abstract class ExtendedEntityManagerCreator {
|
|||||||
|
|
||||||
if (emIfc != null) {
|
if (emIfc != null) {
|
||||||
interfaces = cachedEntityManagerInterfaces.computeIfAbsent(emIfc, key -> {
|
interfaces = cachedEntityManagerInterfaces.computeIfAbsent(emIfc, key -> {
|
||||||
Set<Class<?>> ifcs = new LinkedHashSet<>(4);
|
if (EntityManagerProxy.class.equals(key)) {
|
||||||
ifcs.add(key);
|
return new Class<?>[] {key};
|
||||||
ifcs.add(EntityManagerProxy.class);
|
}
|
||||||
return ClassUtils.toClassArray(ifcs);
|
return new Class<?>[] {key, EntityManagerProxy.class};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user