jdaugherty commented on issue #15224: URL: https://github.com/apache/grails-core/issues/15224#issuecomment-5876779966
Hi @Noirtam creating a new session will effectively create a new transaction - which isn't supported inside of a validator due to how Hibernate works. I'd suggest you move that type of logic into a service instead of in a domain validator too - it will be a performance bottleneck. I'm going to go ahead and close this. -- 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]
