我们开发的一套系统,原来使用的是oracle8,外连接另一套数据库oracle7。
现在系统升级为oracle9,外连接oracle7,
原来的系统是可以使用的,现在在连接oracle7的时候,
在getConnection的时候,出现如下错误:
对于oracle9连接oracle7,又没有什么好的解决方案?
java.sql.SQLException: ORA-01010: invalid OCI operation
java.sql.SQLException: ORA-01010: invalid OCI operation
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthent
icate.java:239)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:295)
at oracle.jdbc.driver.PhysicalConnection. <init> (PhysicalConnection.java:
344)
at oracle.jdbc.driver.T4CConnection. <init> (T4CConnection.java:148)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at jp.co.toshiba.nasu.ncms.utility.OracleAdaptor.connect(OracleAdaptor.j
ava:51)
at jp.co.toshiba.nasu.ph4.PIMToEC_ph4.procedure(PIMToEC_ph4.java:435)
at jp.co.toshiba.nasu.ph4.PIMToEC_ph4.setV_ZubanItem(PIMToEC_ph4.java:36
1)
at jsp_servlet._engineeringcentral.__tmsbompim2ecprocess._jspService(__t
msbompim2ecprocess.java:904)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:463)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: