[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:
Romain Manni-Bucau 2020-10-01 09:49:00 +02:00
parent 0b68db6ba1
commit 574e226ba0

View File

@ -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;
}