Skip to content

Commit

Permalink
remove transactionManager and release 0.9.19
Browse files Browse the repository at this point in the history
  • Loading branch information
HbnKing committed Mar 26, 2024
1 parent 847f565 commit 55dc83e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion mars-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>mars</artifactId>
<groupId>com.whaleal.mars</groupId>
<version>0.9.18</version>
<version>0.9.19</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion mars-springboot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.whaleal.mars</groupId>
<artifactId>mars</artifactId>
<version>0.9.18</version>
<version>0.9.19</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import com.mongodb.client.MongoClient;
import com.whaleal.mars.codecs.MongoMappingContext;
import com.whaleal.mars.codecs.pojo.annotations.Entity;
import com.whaleal.mars.config.transaction.MongoTransactionManager;

import com.whaleal.mars.core.Mars;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
Expand Down Expand Up @@ -77,10 +77,11 @@
@ConditionalOnMissingBean(Mars.class)
public class MarsAutoConfiguration {

@Bean

/* @Bean
MongoTransactionManager transactionManager( Mars dbFactory) {
return new MongoTransactionManager(dbFactory);
}
}*/

//生成mars对象,交给spring管理
@Bean
Expand Down
2 changes: 1 addition & 1 deletion mars-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.whaleal.mars</groupId>
<artifactId>mars</artifactId>
<version>0.9.18</version>
<version>0.9.19</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion mars-test/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring:
data:
mongodb:
uri: mongodb://localhost:6001,localhost:6002,localhost:6003/wh
uri: mongodb://localhost:6001,localhost:6002,localhost:6003/wh
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.whaleal.mars</groupId>
<artifactId>mars</artifactId>
<packaging>pom</packaging>
<version>0.9.18</version>
<version>0.9.19</version>
<name>Mars</name>
<description>MongoDB ORM Framework [Mars] - Java Object Document Mapper for MongoDB</description>
<!--我们项目的git地址-->
Expand Down

0 comments on commit 55dc83e

Please sign in to comment.