java.sql.SQLException: Invalid column type: getInt not implemented ....
470745Nov 22 2005 — edited Nov 22 2005I am working on SQLJ for EJB-CMP on websphere 5.1. I can successfully run insert methods. But when i run find method to get the objects. I got the runtime exception as follows:
The stacktrace is:
java.sql.SQLException: Invalid column type: getInt not implemented for class oracle.jdbc.driver.T4CRowidAccessor
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
at oracle.jdbc.driver.Accessor.unimpl(Accessor.java:387)
at oracle.jdbc.driver.Accessor.getInt(Accessor.java:497)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:489)
at oracle.jdbc.driver.UpdatableResultSet.getInt(UpdatableResultSet.java:437)
at com.ibm.ws.rsadapter.cci.WSRdbResultSetImpl.getInt(WSRdbResultSetImpl.java:1831)
at com.ibm.ws.ejbpersistence.dataaccess.RawBeanData.getInt(Unknown Source)
at com.hsbc.fxg.esd.persister.websphere_deploy.ORACLE_V9_1.FXDealPersisterBeanExtractor_6847a04c.extractPrimaryKey(FXDealPersisterBeanExtractor_6847a04c.java:52)
at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionImpl.processSingleRow(Unknown Source)
at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionImpl.processRow(Unknown Source)
at com.ibm.ws.ejbpersistence.dataaccess.AbstractResultCollection.get(Unknown Source)
at com.ibm.ws.ejbpersistence.dataaccess.ResultCollectionIteratorImpl.next(Unknown Source)
at com.ibm.ejs.container.finder.FinderResultServerImpl.nextPrimaryKey(FinderResultServerImpl.java:883)
at com.ibm.ejs.container.finder.FinderResultServerImpl.getWrapperBase(FinderResultServerImpl.java:525)
at com.ibm.ejs.container.finder.FinderResultServerImpl.getAllWrapperCollection(FinderResultServerImpl.java:772)
at com.ibm.ejs.container.finder.FinderResultFactory.finderResultCollection_Common(FinderResultFactory.java:192)
at com.ibm.ejs.container.finder.FinderResultFactory.getCMP20FinderResultCollection(FinderResultFactory.java:80)
at com.ibm.ejs.container.EJSHome.getCMP20Collection(EJSHome.java:2851)
at com.hsbc.fxg.esd.persister.EJSCMPFXDealPersisterHomeBean_6847a04c.findByStatus(EJSCMPFXDealPersisterHomeBean_6847a04c.java:196)
at com.hsbc.fxg.esd.persister.EJSRemoteCMPFXDealPersisterHome_6847a04c.findByStatus(EJSRemoteCMPFXDealPersisterHome_6847a04c.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.CORBA.iiop.ClientDelegate$3.run(ClientDelegate.java:1140)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1138)
at $Proxy0.findByStatus(Unknown Source)
at com.hsbc.fxg.esd.persister._FXDealPersisterHome_Stub.findByStatus(_FXDealPersisterHome_Stub.java:438)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
I am using oracle version 10g. And Jpub 10.2 as the translator. How can i solve this problems? thx