mirror of
https://github.com/apache/openjpa.git
synced 2025-03-06 16:39:11 +00:00
[OPENJPA-2834] also cache properties in the em - even if less useful, but no need to recompute it again and again
This commit is contained in:
parent
0b68db6ba1
commit
574e226ba0
@ -1965,6 +1965,7 @@ public class EntityManagerImpl
|
||||
props.put(userKey.equals(kernelKey) ? s : userKey, JPAProperties.convertToUserValue(userKey, kvalue));
|
||||
}
|
||||
}
|
||||
properties = props; // no need to synchronize, we don't care of the actual ref, we just want it as value
|
||||
return props;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user