The GitHub Actions job "CI" on grails-core.git/feat/mongo-spring-data-interop 
has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
342579f60cb6456c73992451a7d9f81915e3a71b / Scott Murphy Heiberg 
<[email protected]>
Add grails-data-mongodb-spring-data interop module

Introduces an optional module that lets GORM for MongoDB and Spring Data MongoDB
run side by side over the same MongoClient, database and codecs, and - within a
single transaction - the same MongoDB ClientSession.

When the module and spring-data-mongodb are on the classpath of a Spring Boot
application that has a GORM MongoDatastore, SpringDataMongoGormAutoConfiguration
registers, over GORM's existing connection: a MongoDatabaseFactory bound to 
GORM's
client and default database (which does not close that client), a MongoTemplate 
and
MappingMongoConverter sharing the driver codec registry, and a primary
transactionManager.

That manager, GormSharedSessionMongoTransactionManager, extends GORM's
DatastoreTransactionManager and binds GORM's ClientSession into Spring Data's
thread-bound resources, so a GORM save() and a MongoTemplate/repository write 
in one
@Transactional method commit or roll back together. Unified transactions 
require GORM
server-side transactions (grails.mongodb.transactional = true). The two 
object-mapping
models stay separate; only the connection, codecs and session are shared.

Report URL: https://github.com/apache/grails-core/actions/runs/27725866652

With regards,
GitHub Actions via GitBox

Reply via email to