输入banner图图片脚本导航/分类

IBatis 配置各种数据库

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 配置各种数据库

标签: