当前位置: 代码迷 >> Access >> ibatis配备access注意点 java.sql.SQLException: No data found
  详细解决方案

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

热度:7566   发布时间:2013-02-26 00:00:00.0
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

搞了半天才解决

?

  相关解决方案