jdaugherty commented on PR #16631:
URL: https://github.com/apache/grails-core/pull/16631#issuecomment-6425522114

   @jamesfredley, review 5657578936 is addressed in 52808b3641, still a single 
commit on 9.0.x.
   
   - **Two session factories from one configuration:** each factory now gets 
its own inspector and capture handle, created when it is built. Closing one 
leaves the other recording, and a factory built after both have closed records 
into a new run. The configuration's statement inspector and observer are 
restored after every build, so the next build wraps what the application set. 
On Hibernate 5, closing one factory also no longer destroys the other's service 
registry. Details are on the thread.
   
   The new feature in both versions' `HibernateConnectionSourceFactorySpec` 
builds two factories, closes one, and checks the other still records. The full 
`grails-data-hibernate5-core` and `grails-data-hibernate7-core` suites pass 
locally.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to