iBatis 连接 Access数据库的怪异问题

Hi,
我用一样的办法用iBatis连接Oracle和Mysql操作数据都很正常。但是改为Access数据库后就怪事无常!
如下:
我的连接配置:
[code]
jdbc.driverClassName=sun.jdbc.odbc.JdbcOdbcDriver
jdbc.url=jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=C:\\xgll.mdb
jdbc.username=
jdbc.password=
[/code]

[code]


${jdbc.driverClassName}
${jdbc.url}
${jdbc.username}
${jdbc.password}

[/code]

SqlMap配置文件如下:
[code]


delete from rootnews

[/code]

控制台报出的错误信息:
[code]
--- 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
[/code]

我的疑惑:
1.拼出来的SQL语句后面怎么多了一个点号
2.jdbc.url=jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=C:\\xgll.mdb这里配置的绝对路径如何才能改为相对路劲!

你可能感兴趣的:(问题求助专用贴,Access,iBATIS,JDBC,Oracle,MySQL)