久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <tfoot id='pv2sx'></tfoot>

    <small id='pv2sx'></small><noframes id='pv2sx'>

      <bdo id='pv2sx'></bdo><ul id='pv2sx'></ul>
  • <legend id='pv2sx'><style id='pv2sx'><dir id='pv2sx'><q id='pv2sx'></q></dir></style></legend>
  • <i id='pv2sx'><tr id='pv2sx'><dt id='pv2sx'><q id='pv2sx'><span id='pv2sx'><b id='pv2sx'><form id='pv2sx'><ins id='pv2sx'></ins><ul id='pv2sx'></ul><sub id='pv2sx'></sub></form><legend id='pv2sx'></legend><bdo id='pv2sx'><pre id='pv2sx'><center id='pv2sx'></center></pre></bdo></b><th id='pv2sx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pv2sx'><tfoot id='pv2sx'></tfoot><dl id='pv2sx'><fieldset id='pv2sx'></fieldset></dl></div>

        db2jcc4.jar 無效參數:未知列名

        db2jcc4.jar Invalid parameter: Unknown column name(db2jcc4.jar 無效參數:未知列名)
        <i id='EZUi4'><tr id='EZUi4'><dt id='EZUi4'><q id='EZUi4'><span id='EZUi4'><b id='EZUi4'><form id='EZUi4'><ins id='EZUi4'></ins><ul id='EZUi4'></ul><sub id='EZUi4'></sub></form><legend id='EZUi4'></legend><bdo id='EZUi4'><pre id='EZUi4'><center id='EZUi4'></center></pre></bdo></b><th id='EZUi4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='EZUi4'><tfoot id='EZUi4'></tfoot><dl id='EZUi4'><fieldset id='EZUi4'></fieldset></dl></div>

            <tbody id='EZUi4'></tbody>

              <legend id='EZUi4'><style id='EZUi4'><dir id='EZUi4'><q id='EZUi4'></q></dir></style></legend>
                • <bdo id='EZUi4'></bdo><ul id='EZUi4'></ul>
                • <small id='EZUi4'></small><noframes id='EZUi4'>

                • <tfoot id='EZUi4'></tfoot>
                  本文介紹了db2jcc4.jar 無效參數:未知列名的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我之前問過以下問題:DB2查詢未知列名ERRORCODE=-4460, SQLSTATE=null

                  我們已經了解到,從 db2jcc4.jar (JCC) 更改為 db2jcc.jar (UNIVERSAL) 可以解決我們開發環境中的問題.問題是那個不起作用的是較新的.我們不想在沒有真正正當理由的情況下倒退我們的司機.但是上面鏈接中的查詢在新驅動中無效的原因我不明白.

                  We have since learned that changing from db2jcc4.jar (JCC) from db2jcc.jar (UNIVERSAL) solves the issue in our development environment. The problem is that the one tha tdoesn't work is the newer one. We don't want to step backwards on our driver without really good cause. But the reason why the query in the above link is invalid in the new driver is not understood by me.

                  我們知道它就是那一列...如果我們通過強制一個空白將其從結果中取出,一切正常(除了我們沒有得到數據).該查詢在其他環境中運行良好.

                  We know it is that column...if we take it out of the results by forcing an empty space, everything works (except we don't get the data). The query works fine in other environments.

                  我看到一些帖子暗示這個錯誤與結果集元數據 getColumn() 方法在 JDBC3 和 JDBC4 之間不一致有關.但是我們沒有在這個查詢中做任何其他查詢中沒有做的特殊事情,至少據我們所知沒有.

                  I have seen some posts implying that this error is related to the result set meta data getColumn() method being inconsistent between JDBC3 and JDBC4. But we're not doing anything special in this query that isn't being done in many other queries, at least not as far as we can tell.

                  有誰知道這個查詢可能會引起什么問題?是否有解決此問題的方法...一些設置或解決方法,或者新的驅動程序?

                  Does anyone know what about this query might be setting things off? Is there a fix for this behavior...either some setting or workaround, or a new driver?

                  完整的例外:

                  com.ibm.db2.jcc.a.SqlException:[jcc][10150][10300][4.3.111] 無效參數:未知>列名 FILTER_VALUE_DECODE.錯誤代碼=-4460,SQLSTATE=null在 com.ibm.db2.jcc.a.dd.a(dd.java:660)在 com.ibm.db2.jcc.a.dd.a(dd.java:60)在 com.ibm.db2.jcc.a.dd.a(dd.java:103)在 com.ibm.db2.jcc.a.ib.a(ib.java:1674)在 com.ibm.db2.jcc.a.yl.a(yl.java:1625)在 com.ibm.db2.jcc.a.yl.getString(yl.java:1468)在 com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.getString(WSJdbcResultSet.java:2467)在 org.hibernate.type.StringType.get(StringType.java:41)在 org.hibernate.type.NullableType.nullSafeGet(NullableType.java:184)在 org.hibernate.type.NullableType.nullSafeGet(NullableType.java:210)在 org.hibernate.loader.custom.CustomLoader$ScalarResultColumnProcessor.extract(CustomLoader.java:501)在 org.hibernate.loader.custom.CustomLoader$ResultRowProcessor.buildResultRow(CustomLoader.java:447)在 org.hibernate.loader.custom.CustomLoader.getResultColumnOrRow(CustomLoader.java:344)在 org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:647)在 org.hibernate.loader.Loader.doQuery(Loader.java:745)在 org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)在 org.hibernate.loader.Loader.doList(Loader.java:2294)... 64 更多

                  com.ibm.db2.jcc.a.SqlException: [jcc][10150][10300][4.3.111] Invalid parameter: Unknown >column name FILTER_VALUE_DECODE. ERRORCODE=-4460, SQLSTATE=null at com.ibm.db2.jcc.a.dd.a(dd.java:660) at com.ibm.db2.jcc.a.dd.a(dd.java:60) at com.ibm.db2.jcc.a.dd.a(dd.java:103) at com.ibm.db2.jcc.a.ib.a(ib.java:1674) at com.ibm.db2.jcc.a.yl.a(yl.java:1625) at com.ibm.db2.jcc.a.yl.getString(yl.java:1468) at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.getString(WSJdbcResultSet.java:2467) at org.hibernate.type.StringType.get(StringType.java:41) at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:184) at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:210) at org.hibernate.loader.custom.CustomLoader$ScalarResultColumnProcessor.extract(CustomLoader.java:501) at org.hibernate.loader.custom.CustomLoader$ResultRowProcessor.buildResultRow(CustomLoader.java:447) at org.hibernate.loader.custom.CustomLoader.getResultColumnOrRow(CustomLoader.java:344) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:647) at org.hibernate.loader.Loader.doQuery(Loader.java:745) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2294) ... 64 more

                  推薦答案

                  您可能正在使用 Hibernate 3.x.Hibernate 3.x 嘗試通過列的 columnName(即列的原始名稱的 ResultSetMetaData 屬性)檢索列的值,而 JDBC 要求(按規范)它們由 columnLabel(AS 別名的屬性,或者如果未指定原始列名)檢索.

                  You are probably using Hibernate 3.x. Hibernate 3.x tries to retrieve values of columns by their columnName (that is the ResultSetMetaData property for the original name of the column), while JDBC requires (by specification) that they are retrieved by columnLabel (the property for the AS alias, or if that isn't specified the original columnname).

                  舊版本的 JDBC 并不完全清楚 columnNamecolumnLabel 之間的區別,因此實現驅動程序要么為兩個屬性返回相同的值,要么期望 columnNamecolumnLabelcode>columnName 檢索值.

                  Older versions of JDBC weren't entirely clear about the distinction between columnName and columnLabel, so implementing Drivers either returned the same value for both properties, or expected the columnName to retrieve values.

                  IBM 更改了此行為以符合 DB2 9.5 驅動程序中的 JDBC 規范,請參閱 本文檔.要恢復到舊行為,您需要將連接屬性 useJDBC4ColumnNameAndLabelSemantics 指定為 DB2BaseDataSource.NO(其值為 2):

                  IBM changed this behavior to conform to the JDBC specification in the DB2 9.5 driver, see this document. To revert to the old behavior, you need to specify the connection property useJDBC4ColumnNameAndLabelSemantics to DB2BaseDataSource.NO (which has the value 2):

                  分辨率
                  如果您無法更改應用程序以符合新的 ResultSetMetaData 行為,但需要 JDBC 4.0 的其他功能,請將 useJDBC4ColumnNameAndLabelSemantics Connection 或 DataSource 屬性設置為 DB2BaseDataSource.NO (2) 保持舊的行為.

                  Resolution
                  If you cannot change your applications to conform to the new ResultSetMetaData behavior but you need other features of JDBC 4.0, set the useJDBC4ColumnNameAndLabelSemantics Connection or DataSource property to DB2BaseDataSource.NO (2) to keep the old behavior.

                  另一個選擇是升級到較新版本的 Hibernate (4.x),因為它(至少在默認情況下)使用 columnLabel 來檢索值.

                  The other option is to upgrade to a newer version of Hibernate (4.x) as this (at least by default) uses the columnLabel for retrieving values.

                  這篇關于db2jcc4.jar 無效參數:未知列名的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關系嗎?)
                  How to convert Integer to int?(如何將整數轉換為整數?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內創建一個隨機打亂數字的 int 數組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠將 0xff000000 存儲為 int?)

                      <small id='wPLrB'></small><noframes id='wPLrB'>

                      <tfoot id='wPLrB'></tfoot>
                    • <legend id='wPLrB'><style id='wPLrB'><dir id='wPLrB'><q id='wPLrB'></q></dir></style></legend>

                      <i id='wPLrB'><tr id='wPLrB'><dt id='wPLrB'><q id='wPLrB'><span id='wPLrB'><b id='wPLrB'><form id='wPLrB'><ins id='wPLrB'></ins><ul id='wPLrB'></ul><sub id='wPLrB'></sub></form><legend id='wPLrB'></legend><bdo id='wPLrB'><pre id='wPLrB'><center id='wPLrB'></center></pre></bdo></b><th id='wPLrB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='wPLrB'><tfoot id='wPLrB'></tfoot><dl id='wPLrB'><fieldset id='wPLrB'></fieldset></dl></div>
                        <bdo id='wPLrB'></bdo><ul id='wPLrB'></ul>

                              <tbody id='wPLrB'></tbody>
                            主站蜘蛛池模板: 欧美涩| 国产精品久久久久久久免费大片 | 亚洲精品1区2区3区 91免费看片 | 怡红院怡春院一级毛片 | 国产在线激情视频 | 成人美女免费网站视频 | 亚洲一区 中文字幕 | 欧美日韩精品久久久免费观看 | 日韩精品一区二区三区视频播放 | 精品一区二区电影 | 欧美一区二区三区 | 日本精品一区二区三区在线观看视频 | 在线观看免费黄色片 | 在线观看黄色电影 | 中文字幕在线网 | 国产成人综合在线 | 国产精品污污视频 | 成人国产精品久久久 | 中文在线一区二区 | 国产精品一区二区av | 四虎影视一区二区 | 91精品国产91久久久久久最新 | 日韩在线观看中文字幕 | 超碰97在线免费 | 少妇精品亚洲一区二区成人 | 国产精品网址 | 亚洲视频中文字幕 | 亚洲第一黄色网 | 精品国产欧美 | 97视频在线观看免费 | 一级黄色生活视频 | 久久大陆 | 日屁网站 | 日韩成人精品一区 | 五月婷婷婷| 国产高清视频在线观看 | 色本道| 国产亚洲一区二区在线观看 | 国产精品视频免费看 | 国产在线精品一区二区三区 | 四虎影院在线免费观看 |