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

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

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

    追隨Java
    簡(jiǎn)單的事情重復(fù)做,就會(huì)產(chǎn)生累積效應(yīng)!
    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)?
    ??????這個(gè)問(wèn)題就非常的奇怪,因?yàn)槲以谧鯠AO單元測(cè)試的時(shí)候沒(méi)有問(wèn)題,可一集成測(cè)試的時(shí)候就出現(xiàn)了上面的問(wèn)題.
    然后,我在網(wǎng)上一找,就發(fā)現(xiàn)了一篇(http://www.javaeye.com/post/134608)中間提到了,換一個(gè)driver來(lái)試試.
    當(dāng)然,我試了,真的可以.我看到日志,原來(lái)那個(gè)id的值是NULL,所以出問(wèn)題了.最終的問(wèn)題也就出現(xiàn)在這.開(kāi)發(fā)還是得小心,認(rèn)真.
    posted on 2006-10-07 17:23 Harryson 閱讀(2362) 評(píng)論(0)  編輯  收藏 所屬分類: iBatis

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     

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

    常用鏈接

    留言簿(10)

    隨筆分類(319)

    AJAX

    Coffee House

    CSS

    Java

    JavaScript

    Open Source

    ProjectManagement

    友情Blog

    最新隨筆

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 亚洲av成人一区二区三区在线播放| 亚洲视频在线一区| 亚洲乱妇老熟女爽到高潮的片| 国产91色综合久久免费| 亚洲最大的成网4438| 亚洲无砖砖区免费| 亚洲精品午夜国产va久久| 欧美大尺寸SUV免费| 亚洲色大成网站WWW国产| 国产禁女女网站免费看| 香蕉视频免费在线播放| 亚洲国产天堂久久久久久| 91免费在线视频| 亚洲国产成人精品不卡青青草原| 99re在线免费视频| 亚洲熟妇无码一区二区三区导航| 日韩中文无码有码免费视频| 羞羞视频免费网站日本| 国产国拍亚洲精品mv在线观看| 久久久久成人精品免费播放动漫| 亚洲网址在线观看| 国产麻豆免费观看91| a高清免费毛片久久| 亚洲精品成人网站在线播放| 在线播放免费人成视频在线观看| 美女黄频a美女大全免费皮| 亚洲日产韩国一二三四区| 青青视频观看免费99| 欧洲精品码一区二区三区免费看| 亚洲AV无码精品无码麻豆| 青青青国产在线观看免费| 全黄A免费一级毛片| 亚洲精品免费在线观看| 热99re久久精品精品免费| 青青操免费在线视频| 激情内射亚洲一区二区三区爱妻| 亚洲AV无码一区二区三区国产| 久久久久久国产精品免费免费男同 | 高清免费久久午夜精品| 亚洲AV成人片色在线观看高潮| 成人免费无码视频在线网站|