测试背景:基于11g oracle jdbc driver + oralce 9i thin 方式联接
ojdbc6-11.2.0.1.jar + Oracle9i Enterprise Edition Release 9.2.0.7.0
java.sql.SQLException: Unable to write clob, exception=ORA-03120: two-task conversion routine: integer overflow
at xxx.xxx.sql.SQLUtil.updateClob(SQLUtil.java:411)
at xxx.xxx.prefs.service.BasicDBPreferencesService.persistNode(BasicDBPreferencesService.java:251)
at $PreferencesService_12c3f46aac0.persistNode($PreferencesService_12c3f46aac0.java)
at xxx.xxx.prefs.service.EJBPreferencesServiceBean.persistNode(EJBPreferencesServiceBean.java:89)
at xxx.xxx.prefs.service.myEJBPrefsService_u0yclo_EOImpl.persistNode(myEJBPrefsService_u0yclo_EOImpl.java:135)
at sun.reflect.GeneratedMethodAccessor1533.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at xxx.xxx.prefs.service.EJBClientPreferencesService$ServiceCommand.execute(EJBClientPreferencesService.java:77)
at xxx.xxx.ejb.beans.CommandExecutorBean.executeCommand(CommandExecutorBean.java:437)
at xxx.xxx.ejb.beans.myCommandExecutor_wisgn8_EOImpl.executeCommand(myCommandExecutor_wisgn8_EOImpl.java:62)
at xxx.xxx.ejb.dispatchers.HttpCommandDispatcherServlet.doPost(HttpCommandDispatcherServlet.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at xxx.xxx.security.gss.GSSServletFilter.doFilter(GSSServletFilter.java:710)
at xxx.xxx.apus.web.DelegatingFilter.doFilter(DelegatingFilter.java:50)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at xxx.xxx.security.basic.BasicAuthenticationServletFilter$1.run(BasicAuthenticationServletFilter.java:466)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at xxx.xxx.security.basic.BasicAuthenticationServletFilter.runAs(BasicAuthenticationServletFilter.java:523)
at xxx.xxx.security.basic.BasicAuthenticationServletFilter.doRequest(BasicAuthenticationServletFilter.java:484)
at xxx.xxx.security.basic.BasicAuthenticationServletFilter.doFilter(BasicAuthenticationServletFilter.java:277)
at $Filter_12c3f46aad7.doFilter($Filter_12c3f46aad7.java)
at xxx.xxx.apus.web.DelegatingFilter.doFilter(DelegatingFilter.java:50)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at xxx.xxx.servlet.IdentificationServletFilter.doFilter(IdentificationServletFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at xxx.xxx.apus.RegistryInjectionFilter.doFilter(RegistryInjectionFilter.java:34)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
有人说是oracler的bug, http://space.itpub.net/9252210/viewspace-592262
不同版本间的数据库导入导出 http://space.itpub.net/9252210/viewspace-557898
Feedback from Oracle indicated that 9.2.0.X is NOT supported by 11g's jdbc driver.
11g jdbc drive only work with 9.2.0.x, BUT the support ability of 9.2.0.x is only from 9.2.0.8.