日期:2014-05-16 浏览次数:20473 次
jdbc.driverClassName=sun.jdbc.odbc.JdbcOdbcDriver jdbc.url=jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=C:\\xgll.mdb jdbc.username= jdbc.password=
<!-- 本地 Apache Commons DBCP 数据源 --> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName"><value>${jdbc.driverClassName}</value></property> <property name="url"><value>${jdbc.url}</value></property> <property name="username"><value>${jdbc.username}</value></property> <property name="password"><value>${jdbc.password}</value></property> </bean>
<!-- 删除所有数据 --> <delete id="deleteRootnewsDomains" parameterClass="map"> delete from rootnews </delete>
--- The error occurred while executing update. --- Check the delete from rootnews . --- Check the SQL Statement (preparation failed). --- Cause: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented Caused by: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented