perf[orm]: 简化了数据库mongodb的连接配置

This commit is contained in:
jaysunxiao committed 2021-06-10 16:31:11 +08:00
1 parent d42816bf03
commit a5b01b3d54
7 files changed
+19 -73

No files matched your search

+1 -3
View File
@@ -42,9 +42,7 @@ OrmContext.getAccessor().update(obj);
```
<orm:config id="config" entity-package="com.zfoo.orm.**.entity">
<orm:host database="test" user="" password="">
<orm:address name="server0" url="127.0.0.1:27017"/>
</orm:host>
<orm:host database="test" url="mongodb://127.0.0.1:27017" />
<!-- 缓存策略 -->
<orm:caches>