IBatis 配置各种数据库
时间:2021-07-01 10:21:17
帮助过:3人阅读
1.0" encoding=
"utf-8"?>
<sqlMapConfig xmlns=
"http://ibatis.apache.org/dataMapper"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance" >
<settings>
<setting useStatementNamespaces=
"false"/>
<setting cacheModelsEnabled=
"true"/>
<setting validateSqlMap=
"false"/>
</settings>
<database>
<provider name=
"PostgreSql2.2.5.0"/>
<dataSource name=
"Test" connectionString=
"User ID=postgres; Password=release; Host=localhost; Port=5432; Database=Test;"/>
</database>
<sqlMaps>
<sqlMap resource=
"Study.xml"/>
</sqlMaps>
</sqlMapConfig>
View Code
IBatis 配置各种数据库
标签: