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

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

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

    追隨Java
    簡單的事情重復做,就會產生累積效應!
    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單元測試的時候沒有問題,可一集成測試的時候就出現了上面的問題.
    然后,我在網上一找,就發現了一篇(http://www.javaeye.com/post/134608)中間提到了,換一個driver來試試.
    當然,我試了,真的可以.我看到日志,原來那個id的值是NULL,所以出問題了.最終的問題也就出現在這.開發還是得小心,認真.
    posted on 2006-10-07 17:23 Harryson 閱讀(2370) 評論(0)  編輯  收藏 所屬分類: iBatis

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

    常用鏈接

    留言簿(10)

    隨筆分類(319)

    AJAX

    Coffee House

    CSS

    Java

    JavaScript

    Open Source

    ProjectManagement

    友情Blog

    最新隨筆

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲国产无线乱码在线观看| 亚洲一久久久久久久久| 豆国产96在线|亚洲| 99久久免费精品国产72精品九九| 亚洲爆乳无码一区二区三区| 两性色午夜视频免费播放| 免费h黄肉动漫在线观看| 精品特级一级毛片免费观看| 日本黄页网站免费| 亚洲国产成人久久精品99| 国产产在线精品亚洲AAVV| 免费国产成人午夜私人影视 | 亚洲日韩av无码| 在线观看免费视频网站色| 亚洲国产AV无码专区亚洲AV| 免费91麻豆精品国产自产在线观看 | 日本免费一区二区三区最新| 国产偷国产偷亚洲清高APP| 俄罗斯极品美女毛片免费播放| 日韩免费在线中文字幕| 亚洲香蕉网久久综合影视| 无码人妻AV免费一区二区三区| 好爽又高潮了毛片免费下载| 亚洲精品美女久久久久99| 国产成人AV片无码免费| 亚洲一区无码中文字幕乱码| 成人片黄网站色大片免费| 亚洲精品美女在线观看播放| 日韩吃奶摸下AA片免费观看| 免费精品视频在线| 日韩亚洲人成在线综合日本 | 两个人看的www高清免费观看| 久久亚洲国产视频| 三年片在线观看免费观看高清电影| 亚洲av日韩av永久无码电影| 国产亚洲美女精品久久久2020 | 亚洲AV无码久久精品蜜桃| 免费人成视频在线播放| 亚洲av伊人久久综合密臀性色| 色窝窝免费一区二区三区| 污网站在线观看免费|