jdaugherty commented on issue #14351:
URL: https://github.com/apache/grails-core/issues/14351#issuecomment-3938086560

   @jamesfredley restarting the context is painful, and yes, `@DirtiesContext` 
is the right solution to this problem.  
   
   But this has me curious - should we be fetching the session factory from 
that static api method instead of keeping an internal reference?  It seems like 
the static api itself may be better to be a bean longer term (maybe a data 
service?!) then state would be consistent.  obviously this is a feature request 
post grails 8 ... this may be worth discussing further with Walter too since 
he's done so much work on Hibernate 7


-- 
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