`
guoqingcun
  • 浏览: 55733 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

db2: Invalid parameter: Unknown column name ...ERRORCODE=-4460, SQLSTATE=null

db2 
阅读更多

如标题所述。问题的原因可能是db2驱动引起。原文内容如下:

In my case, I got the same error in a similar situation because I had the "wrong" driver jar (db2cc4.jar) in the classpath ahead of the "correct" one (db2cc.jar). I'm not quite sure what the difference is between the 2 jars, but when I switched the order, the issue went away.


ibm论坛如下说:

Problem(Abstract)

 

WebSphere Adapters for JDBC unable to create business object definition files when attempting to configure against DB2 on z/OS.

Symptom

WebSphere Adapters for JDBC is configured to connect to DB2 on z/OS in the external service wizard. The business object artifacts can not be generated in the module after the wizard. The following SQL exception is encountered in metadata discover logs in JDBCMetadataDiscovery.log file generated by the external service wizard.

com.ibm.db2.jcc.a.SqlException: [jcc][10150][10300][4.3.85] Invalid parameter: Unknown column name COLUMN_NAME. ERRORCODE=-4460, SQLSTATE=null

Resolving the problem

This problem is caused by the DB2 JDBC driver and DB2 environment. The latest DB2 JDBC driver file db2jcc.jar (3.58.82) should be used to connect to a DB2 database. You can get the DB2 driver V9.7 FP1 from following technote:

http://www.ibm.com/support/docview.wss?uid=swg21363866

After downloading the driver file, you will find two JARs: db2jcc.jar (for JDBC 3.0 spec) and db2jcc4.jar (for JDBC 4.0 spec). Use db2jcc.jar (for JDBC 3.0) rather than db2jcc4.jar (for JDBC 4.0) in this scenario.

In addition, you need to ensure you have the correct configuration of DB2 on z/OS. Before launching the external service wizard, ensure:

 

分享到:
评论

相关推荐

    gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-guneabi.tar.xz

    gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-guneabi.tar.xz gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-guneabi.tar.xz gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-guneabi.tar.xz gcc-linaro-4.9.4-2017.01-x86_...

    org.springframework.web.servlet-3.0.1.RELEASE-A.jar

    Error creating bean with name 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0' defined in ServletContext resource [/WEB-INF/springMVC-servlet.xml]: Initialization of bean failed;...

    db2 错误码 大全

    ### DB2错误码大全 在使用DB2数据库的过程中,可能会遇到各种各样的错误,了解这些错误码的意义及其解决方法对于数据库管理员来说至关重要。本文将详细介绍DB2中的常见错误码及其含义,帮助用户更好地理解并处理...

    Invalid name=”com.alibaba.dubbo.config.ProtocolConfig#0″

    java.lang.IllegalStateException: Invalid name=“com.alibaba.dubbo.config.ProtocolConfig#0” contains illegal character, only digit, letter, ‘-’, ‘_’ or ‘.’ is legal 原因: 如果没有指定id属性,...

    cvc-complex-type.2.4.d: Invalid content was found

    在XML Schema设计中,"cvc-complex-type.2.4.d: Invalid content was found" 是一个常见的错误信息,这通常意味着在解析XML文档时,遇到了不符合定义的复杂类型的内容。这个错误通常涉及到XML Schema的约束规则,即...

    org.xml.sax.SAXException: Invalid element

    NULL 博文链接:https://wilian.iteye.com/blog/1992365

    org.eclipse.paho.android.service-1.1.1-sources.jar

    Android的MQTT消息推送接收所需jar包,修复了MqttAndroidClient会出现throw new IllegalArgumentException Invalid ClientHandle报错,而源github中代码未更新解决,所以经过重新编译,生成新的jar包,增加...

    rlexception: invalid roslaunch xml syntax: no element found: lin

    在ROS(Robot Operating System)开发过程中,遇到`rlexception: invalid roslaunch xml syntax: no element found: line 1, column 0`这样的错误信息时,表明当前的`.launch`文件存在XML语法错误。具体来说,可能是...

    ApplicationResources.txt

    - **Action Parameter Error**: `error.general.Parameter=Action Parameter Error` - 当执行某操作时传入的参数有误。 - **Invalid ID Format**: `error.general.Id=Id format is invalid` - ID格式不正确。 - **...

    httpcore-4.4.13-API文档-中文版.zip

    赠送jar包:httpcore-4.4.13.jar; 赠送原API文档:httpcore-4.4.13-javadoc.jar; 赠送源代码:httpcore-4.4.13-sources.jar; ... ... ...人性化翻译,文档中的代码和结构保持不变,注释和说明精准翻译,请放心使用。

    EurekaLog_7.5.0.0_Enterprise

    6)....Fixed: Empty "Count" field/column is now displayed as "1" in Viewer 7)....Fixed: Generic names with "," could not be decoded in Viewer 8)....Fixed: Updated Windows 10 detection for latest builds...

    concurrentlinkedhashmap-lru-1.4.2-API文档-中文版.zip

    标签:googlecode、concurrentlinkedhashmap、lru、jar包、java、中文文档; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译,文档中的代码和结构保持不变,注释和...

    程序运行时,提示“Invalid parameter”错误

    Delphi 10.3 ,程序运行到DataModule2.ClientDataSet1.ApplyUpdates(0);语句时,提示“Invalid parameter”错误

    Flink 资源包 flink-1.15.0-bin-scala_2.12.tgz flink-connector-elasti

    flink-sql-connector-mysql-cdc-2.2.1.jar flink-connector-elasticsearch7-1.15.0.jar flink-1.15.0-bin-scala_2.12.tgz

    解决Invalid byte 1 of 1-byte UTF-8 sequence

    标题 "解决Invalid byte 1 of 1-byte UTF-8 sequence" 涉及的问题是关于字符编码不匹配引发的错误,通常在处理包含非ASCII字符的文本文件时出现。UTF-8是一种广泛使用的字符编码标准,能表示世界上大部分语言的字符...

    xjar-4.0.1.jar

    xjar的4.0.1版本,便于加密gui开发时引用.访问jitpack.io 仓库 失败的可以下载,然后通过maven命令安装到本地仓库,直接应用即可. 1.安装命令: -Dfile具体maven安装路径 ...2.pom.xml引入 ...<artifactId>xjar ...

    jaxb-api-2.3.1-API文档-中文版.zip

    赠送jar包:jaxb-api-2.3.1.jar; 赠送原API文档:jaxb-api-2.3.1-javadoc.jar; 赠送源代码:jaxb-api-2.3.1-sources.jar; 赠送Maven依赖信息文件:jaxb-api-2.3.1.pom; 包含翻译后的API文档:jaxb-api-2.3.1-...

    rsyslog-8.24.0-57.el7-9.3.x86-64.rpm

    rsyslog安装包,用于linux上日志管理系统

    redhat-rpm-config-125-1.el8.noarch(1).rpm

    离线安装包,亲测可用

    keil4 Error: User Command terminated, Exit-Code=1

    ### Keil4错误:“Error: User Command terminated, Exit-Code=1”的解决方法 #### 错误概述 在使用Keil4进行单片机软件开发过程中,遇到“Error: User Command terminated, Exit-Code=1”这一错误时,通常意味着...

Global site tag (gtag.js) - Google Analytics