HHH-9268 The NoopOptimizer used for default id generation doesn't need synchronization
HHH-9269 Store persister to ReferenceCacheEntryImpl to avoid costly lookup at read time
HHH-9106 :  Merging multiple representations of the same entity (using StrategySelector)
HHH-9106 :  Merging multiple representations of the same entity (tests using StrategySelector)
HHH-9106 :  Merging multiple representations of the same entity (logging)
HHH-9231 Avoid updating collection 2LC if contains entity added in tx

(cherry picked from commit 3b098a94d3463086a230d6dbc1254e9ecbf76cda)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java
HHH-9231 : Avoid updating collection 2LC if contains entity added in tx
HHH-9231 : Uncommitted data can remain in transactional collection cache after rollback if collection is initialized after flush
HHH-9258 OsgiSessionFactoryService does not handle ServiceContributors
HHH-8237 Applying type configured via @ColumnMapping#type() for scalar results
HHH-8237 Applying type configured via @ColumnMapping#type() for constructor results
HHH-8683 Class org.hibernate.engine.spi.EntityEntry consumes lots of memory
HHH-8683 Adding test for setting/getting attributes in compressed state int
HHH-8683 Caching enum constants to avoid memory allocation by repeated calls to getEnumConstants()
HHH-8683 Making EnumState a parameterized class, thus allowing to access its value more safely
HHH-8683 Adapting unit test to changed deserialize() method in 4.3
HHH-6005 - DefaultComponentSafeNamingStrategy breaks @ElementCollection of @Embeddables - testcase
HHH-9280 : Table name generated for @ElementCollection uses owning entity class name instead of mapped entity name
HHH-5811 : Flush causes update query on field of type Byte[]
HHH-8310 : Lob proxy class loading problem