AbstractEntityInitializer apparently needs to go through all properties in a hot loop to find if there’s any unique key that needs processing. This is unusually costly, we can avoid it by precomputing the set of unique keys at cost of exposing a new getter on EntityPersister. |