codeconsole commented on PR #15743:
URL: https://github.com/apache/grails-core/pull/15743#issuecomment-4759010396

   This PR doesn't introduce any GORM↔Spring Mongo mixing — 
`MongoDbGormAutoConfiguration` has reused Spring Boot's auto-configured 
`MongoClient` (from `MongoAutoConfiguration`/`MongoProperties`) since 1.0, to 
avoid opening a second connection in a Boot app. The only change here is 
lifecycle: GORM no longer closes a `MongoClient` it didn't create (e.g. the 
Spring-managed bean), and the auto-config closes only the client it created 
itself. The Spring-mongo references in the diff are pre-existing context around 
the new `destroy()` method. (Note this is Spring Boot's Mongo auto-config, not 
Spring Data MongoDB.)
   


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