Getting oracle.jdbc.driver.LogicalConnection, need oracle.jdbc.OracleConnection

后端 未结 1 556
盖世英雄少女心
盖世英雄少女心 2021-01-21 08:08

I am trying to connect to an Oracle database inside a Java application running on WebSphere. I need to be able to create an array descriptor to use in a call to a procedure.

相关标签:
1条回答
  • 2021-01-21 08:47

    @Alex Poole pointed me in the right direction. Maven was including an Oracle jar, version 10.2.0.1.0, and WebSphere had the same jar, but version 10.2.0.4.0.

    After fixing the POM so that the 10.2.0.1.0 version jar didn't get deployed, the problem seems to be resolved.

    0 讨论(0)
提交回复
热议问题