org.springframework.data.mongodb.MongoTransactionManager Java Examples

The following examples show how to use org.springframework.data.mongodb.MongoTransactionManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MongoConfig.java    From biliob_backend with MIT License 4 votes vote down vote up
@Bean
MongoTransactionManager transactionManager(MongoDbFactory dbFactory) {
    return new MongoTransactionManager(dbFactory);
}
 
Example #2
Source File: TransitionServiceTests.java    From spring-data-examples with Apache License 2.0 4 votes vote down vote up
@Bean
PlatformTransactionManager transactionManager(MongoDatabaseFactory dbFactory) {
	return new MongoTransactionManager(dbFactory);
}
 
Example #3
Source File: MongoConfig.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
MongoTransactionManager transactionManager(MongoDbFactory dbFactory) {
        return new MongoTransactionManager(dbFactory);
}