日期:2014-05-16  浏览次数:21460 次

ibatis配置access注意点 java.sql.SQLException: No data found

driver=sun.jdbc.odbc.JdbcOdbcDriver
url=jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=E:\\LCD.mdb
username=
password=
poolMaximumActiveConnections=15
poolMaximumIdleConnections=15
poolMaximumCheckoutTime=2000
poolTimeToWait=2000
poolPingQuery=select 1
poolPingEnabled=false
poolPingConnectionsNotUsedFor=0
db_conn_flag=1

?

?

配置log4j的时候log4j.logger.java.sql=OFF?? 否则会报错 java.sql.SQLException: No data found

搞了半天才解决

?