UserName=***
Password=*****
jdbc.DriverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/databaseName
jdbc.username=${UserName}
jdbc.password=${Password}
jdbc.maxActive=10
jdbc.maxIdle=5
jdbc.maxWait=10000
ibatis模板类配置:
destroy-method="close">
sqlMapConfig.xml 内容:
/p>
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
lazyLoadingEnabled="true" useStatementNamespaces="true" />
上传几个包供以后自己下载
分享到:
2012-03-02 14:27
浏览 6730
评论