<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    追隨Java
    簡單的事情重復做,就會產(chǎn)生累積效應!
    posts - 260,  comments - 338,  trackbacks - 0
    com.ibatis.common.jdbc.exception.NestedSQLException:
    --- The error occurred in conf/User.xml.
    --- The error occurred while applying a parameter map.
    --- Check the updateUser-InlineParameterMap.
    --- Check the parameter mapping for the 'id' property.
    --- Cause: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The specified SQL type is not supported by this driver.
    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The specified SQL type is not supported by this driver.
    at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:91)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMapExecutorDelegate.java:504)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessionImpl.java:90)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.update(SqlMapClientImpl.java:68)
    at ibatis.dao.UserTestCase.testUpdateUser(UserTestCase.java:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The specified SQL type is not supported by this driver.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)?
    ??????這個問題就非常的奇怪,因為我在做DAO單元測試的時候沒有問題,可一集成測試的時候就出現(xiàn)了上面的問題.
    然后,我在網(wǎng)上一找,就發(fā)現(xiàn)了一篇(http://www.javaeye.com/post/134608)中間提到了,換一個driver來試試.
    當然,我試了,真的可以.我看到日志,原來那個id的值是NULL,所以出問題了.最終的問題也就出現(xiàn)在這.開發(fā)還是得小心,認真.
    posted on 2006-10-07 17:23 Harryson 閱讀(2362) 評論(0)  編輯  收藏 所屬分類: iBatis

    <2006年10月>
    24252627282930
    1234567
    891011121314
    15161718192021
    22232425262728
    2930311234

    常用鏈接

    留言簿(10)

    隨筆分類(319)

    AJAX

    Coffee House

    CSS

    Java

    JavaScript

    Open Source

    ProjectManagement

    友情Blog

    最新隨筆

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲经典千人经典日产| 久久久久久亚洲精品成人| 国产亚洲精品国产福利在线观看| 久久精品国产精品亚洲毛片| 99re8这里有精品热视频免费| 亚洲色欲久久久久综合网| 国产高清对白在线观看免费91| 伊人久久亚洲综合影院| 一区二区三区AV高清免费波多| 免费v片在线观看视频网站| 亚洲第一网站男人都懂| 四虎国产精品永免费| 亚洲综合图色40p| a毛片免费观看完整| 亚洲国产精品久久久久婷婷老年| 97在线视频免费| 亚洲欧洲∨国产一区二区三区| 国内精品99亚洲免费高清| 亚洲男人天堂av| 好先生在线观看免费播放| 亚洲乱亚洲乱妇无码| 亚洲精品WWW久久久久久| 亚洲丰满熟女一区二区哦| 国产在线19禁免费观看| 成在线人免费无码高潮喷水| 99久久亚洲综合精品成人网| 好先生在线观看免费播放 | 亚洲免费视频一区二区三区| 国产黄色片免费看| 91亚洲va在线天线va天堂va国产| 日本妇人成熟免费中文字幕| 黄色三级三级三级免费看| 亚洲av永久无码精品秋霞电影影院| 一边摸一边桶一边脱免费视频| 香蕉高清免费永久在线视频| j8又粗又长又硬又爽免费视频| 亚洲va在线va天堂va不卡下载 | 一级毛片aa高清免费观看| 久久91亚洲精品中文字幕| 我要看WWW免费看插插视频| 国产成人亚洲综合网站不卡|