1 Star 0 Fork 303

red boy/xyIM企业即时通讯-仿微信

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mybatis.xml 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
Xy.Soft Group 提交于 2018-06-05 14:30 . 通讯录卡片
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<!-- 引用db.properties配置文件 -->
<properties resource="db.properties"/>
<settings>
<setting name="cacheEnabled" value="true"/>
</settings>
<typeAliases>
<typeAlias type="xysoft.im.db.model.CurrentUser" alias="CurrentUser"/>
<typeAlias type="xysoft.im.db.model.Room" alias="Room"/>
<typeAlias type="xysoft.im.db.model.Message" alias="Message"/>
<typeAlias type="xysoft.im.db.model.FileAttachment" alias="FileAttachment"/>
<typeAlias type="xysoft.im.db.model.ImageAttachment" alias="ImageAttachment"/>
<typeAlias type="xysoft.im.db.model.ContactsUser" alias="ContactsUser"/>
</typeAliases>
<!-- development : 开发模式 work : 工作模式 -->
<environments default="development">
<environment id="development">
<transactionManager type="JDBC"/>
<!-- 配置数据库连接信息 -->
<dataSource type="POOLED">
<!-- value属性值引用db.properties配置文件中配置的值 -->
<property name="driver" value="${jdbc.driverClassName}"/>
<property name="url" value="${jdbc.url}"/>
<!--<property name="username" value="${jdbc.username}"/>
<property name="password" value="${jdbc.password}"/>-->
</dataSource>
</environment>
</environments>
<mappers>
<mapper resource="xysoft/im/db/mapping/TableMapper.xml"/>
<mapper resource="xysoft/im/db/mapping/CurrentUserMapper.xml"/>
<mapper resource="xysoft/im/db/mapping/RoomMapper.xml"/>
<mapper resource="xysoft/im/db/mapping/MessageMapper.xml"/>
<mapper resource="xysoft/im/db/mapping/FileAttachmentMapper.xml"/>
<mapper resource="xysoft/im/db/mapping/ImageAttachmentMapper.xml"/>
<mapper resource="xysoft/im/db/mapping/ContactsUserMapper.xml"/>
</mappers>
</configuration>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/redboy88_admin/xyTalk-pc.git
git@gitee.com:redboy88_admin/xyTalk-pc.git
redboy88_admin
xyTalk-pc
xyIM企业即时通讯-仿微信
master

搜索帮助