Davide D'Alto

Revert "HHH-13997 Use functions for the creation of ActionQueue and PersistenceContext"

This reverts commit 00acb1f21363dfa33ef19ae06c07e48abdca40fb.

Revert "HHH-13997 Use functions for the creation of ActionQueue and PersistenceContext"

This reverts commit 2eae22d1b9d4effc5b4e8157155a4b07b0c9c9bf.

HHH-14024 Fix NativeSQLQueryPlanEqualsTest compilation error

HHH-14024 Fix NativeSQLQueryPlanEqualsTest compilation error

HHH-14026 Change scope to protected for SessionImple#verifyImmutableEntityUpdate

HHH-14026 Change scope to protected for SessionImple#verifyImmutableEntityUpdate

HHH-14025 Add method to return the query statements for update queries

HHH-14025 Add method to return the query statements for update queries

HHH-13997 Use functions for the creation of ActionQueue and PersistenceContext

HHH-13997 Use functions for the creation of ActionQueue and PersistenceContext

HHH-14028 Change scope of various private methods to protected

So that Hibernate Reactive can reuse them.

HHH-14028 Change scope of various private methods to protected

So that Hibernate Reactive can reuse them.

HHH-14024 Allow the creation of a different QueryPlanCache

HHH-14024 Allow the creation of a different QueryPlanCache

HHH-14027 Allow the creation of a different QueryLoader

HHH-14027 Allow the creation of a different QueryLoader

HHH-14024 Allow the creation of a different QueryPlan

HHH-14024 Allow the creation of a different QueryPlan

OGM-1574 Update MongoDB embedded maven plugin to 0.4.1

It removes an exception at build time.

HHH-13997 : Add methods to SessionImpl and StatefulPersistenceContext; make Loader method protected

* Change visibility for Loader#registerNonExists

* Methods for creating PersistenceContext and ActionQueue

* Add StatefulPersistenceContext#initializeNonLazyCollections(Consumer<PersistentCollection> initializeAction)

HHH-13997 : Add methods to SessionImpl and StatefulPersistenceContext; make Loader method protected

* Change visibility for Loader#registerNonExists

* Methods for creating PersistenceContext and ActionQueue

* Add StatefulPersistenceContext#initializeNonLazyCollections(Consumer<PersistentCollection> initializeAction)

HHH-13878 Make some private methods in Loader protected

This way we can reduce the amount of copy and paste in Hibernate Rx.

HHH-13878 Remove final from SessionImpl#internalLoad

In Hibernate RX we need to override this method.

HHH-13831 Rename test class to EventListenerDuplicationStrategyTest

HHH-13831 Add missing placeholder to log message

HHH-13831 Test listeners error replacement strategy

HHH-13831 Test listener keep original replacement strategy

HHH-13831 Add tests for multiple listeners

We want to test what happens when we apply a replacement strategy

that doesn't match all listeners.

HHH-13831 Clean up existing tests for listeners

HHH-13831 Fix the way we keep track of the callers in test