Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » JDBC error(Error fetching Informix smallint data type)
JDBC error [message #734096] Thu, 06 October 2011 16:20 Go to next message
Paul  is currently offline Paul
Messages: 2
Registered: October 2011
Junior Member
Hi,
Hoping someone can helpme here.... using JDBC Informix 3.7 driver to connect to ageing Informix database. All is OK until I try to fetch and display data that has a smallint data type where I get the error below in BIRT when previewing the report:

Can anyone help please???
Thanks, Paul

The following items have errors:


Table (id = 9):
+ Cannot get the integer value from column: 1.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer value in the result set.
SQL error #1:null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
;
java.sql.SQLException: null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort (Element ID:9)
odaconsumer.CannotGetIntFromColumn ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: Cannot get the integer value from column: 1.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer value in the result set.
SQL error #1:null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
;
java.sql.SQLException: null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort (Element ID:9)
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1214)
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1193)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:929)
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(BirtGetPageAllActionHandler.java:131)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPageAll(BirtDocumentProcessor.java:183)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.eclipse.birt.data.engine.odaconsumer.OdaDataException: Cannot get the integer value from column: 1.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer value in the result set.
SQL error #1:null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
;
java.sql.SQLException: null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.newException(ExceptionHandler.java:55)
at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:108)
at org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:96)
at org.eclipse.birt.data.engine.odaconsumer.ResultSet.getInt(ResultSet.java:230)
at org.eclipse.birt.data.engine.odaconsumer.ResultSet.fetch(ResultSet.java:168)
at org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:214)
at org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:113)
at org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:91)
at org.eclipse.birt.data.engine.executor.transform.SimpleResultSet.initialize(SimpleResultSet.java:177)
at org.eclipse.birt.data.engine.executor.transform.SimpleResultSet.<init>(SimpleResultSet.java:117)
at org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:1009)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:441)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1124)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:232)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:173)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1905)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
... 57 more
Caused by: org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer value in the result set.
SQL error #1:null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
;
java.sql.SQLException: null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
at org.eclipse.birt.report.data.oda.jdbc.ResultSet.getInt(ResultSet.java:280)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaResultSet.getInt(OdaResultSet.java:312)
at org.eclipse.birt.data.engine.odaconsumer.ResultSet.getInt(ResultSet.java:226)
... 73 more
Caused by: java.sql.SQLException: null java.lang.ClassNotFoundException: com.informix.jdbc.IfxShort
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:488)
at com.informix.jdbc.IfxValue.a(IfxValue.java:433)
at com.informix.jdbc.IfxValue.a(IfxValue.java:359)
at com.informix.jdbc.IfxRowColumn.a(IfxRowColumn.java:279)
at com.informix.jdbc.IfxSqli.a(IfxSqli.java:4619)
at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:669)
at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:641)
at com.informix.jdbc.IfxResultSet.getInt(IfxResultSet.java:1091)
at org.eclipse.birt.report.data.oda.jdbc.ResultSet.getInt(ResultSet.java:264)
... 75 more


Re: JDBC error [message #734111 is a reply to message #734096] Thu, 06 October 2011 16:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Paul,

Is com.informix.jdbc.IfxShort in the driver jar?

Jason


On 10/6/2011 12:21 PM, Paul wrote:
> Hi,
> Hoping someone can helpme here.... using JDBC Informix 3.7 driver to
> connect to ageing Informix database. All is OK until I try to fetch and
> display data that has a smallint data type where I get the error below
> in BIRT when previewing the report:
>
> Can anyone help please???
> Thanks, Paul
>
> The following items have errors:
>
> Table (id = 9): + Cannot get the integer value from column: 1.
> org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer
> value in the result set.
> SQL error #1:null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> ;
> java.sql.SQLException: null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort (Element ID:9)
> odaconsumer.CannotGetIntFromColumn ( 1 time(s) )
> detail : org.eclipse.birt.report.engine.api.EngineException: Cannot get
> the integer value from column: 1.
> org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer
> value in the result set.
> SQL error #1:null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> ;
> java.sql.SQLException: null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort (Element ID:9)
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1214)
>
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1193)
>
> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
>
> at
> org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
>
> at
> org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
>
> at
> org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
>
> at
> org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
>
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:929)
>
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
>
> at
> org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(BirtGetPageAllActionHandler.java:131)
>
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
>
> at
> org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
>
> at
> org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
>
> at
> org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPageAll(BirtDocumentProcessor.java:183)
>
> at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
>
> at
> org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
>
> at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
>
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
>
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
>
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
> at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
>
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)
>
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
>
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>
> at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>
> Caused by: org.eclipse.birt.data.engine.odaconsumer.OdaDataException:
> Cannot get the integer value from column: 1.
> org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get integer
> value in the result set.
> SQL error #1:null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> ;
> java.sql.SQLException: null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> at
> org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.newException(ExceptionHandler.java:55)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:108)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ExceptionHandler.throwException(ExceptionHandler.java:96)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ResultSet.getInt(ResultSet.java:230)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ResultSet.fetch(ResultSet.java:168)
>
> at
> org.eclipse.birt.data.engine.executor.cache.OdiAdapter.fetch(OdiAdapter.java:214)
>
> at
> org.eclipse.birt.data.engine.executor.cache.RowResultSet.doNext(RowResultSet.java:113)
>
> at
> org.eclipse.birt.data.engine.executor.cache.RowResultSet.next(RowResultSet.java:91)
>
> at
> org.eclipse.birt.data.engine.executor.transform.SimpleResultSet.initialize(SimpleResultSet.java:177)
>
> at
> org.eclipse.birt.data.engine.executor.transform.SimpleResultSet.<init>(SimpleResultSet.java:117)
>
> at
> org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:1009)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:441)
>
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1124)
>
> at
> org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:232)
>
> at
> org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:173)
>
> at
> org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
>
> at
> org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
>
> at
> org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)
>
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1905)
>
> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
>
> ... 57 more
> Caused by: org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot
> get integer value in the result set.
> SQL error #1:null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> ;
> java.sql.SQLException: null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> at
> org.eclipse.birt.report.data.oda.jdbc.ResultSet.getInt(ResultSet.java:280)
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaResultSet.getInt(OdaResultSet.java:312)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ResultSet.getInt(ResultSet.java:226)
>
> ... 73 more
> Caused by: java.sql.SQLException: null java.lang.ClassNotFoundException:
> com.informix.jdbc.IfxShort
> at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:488)
> at com.informix.jdbc.IfxValue.a(IfxValue.java:433)
> at com.informix.jdbc.IfxValue.a(IfxValue.java:359)
> at com.informix.jdbc.IfxRowColumn.a(IfxRowColumn.java:279)
> at com.informix.jdbc.IfxSqli.a(IfxSqli.java:4619)
> at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:669)
> at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:641)
> at com.informix.jdbc.IfxResultSet.getInt(IfxResultSet.java:1091)
> at
> org.eclipse.birt.report.data.oda.jdbc.ResultSet.getInt(ResultSet.java:264)
> ... 75 more
>
>
>
Re: JDBC error [message #734241 is a reply to message #734111] Fri, 07 October 2011 08:33 Go to previous messageGo to next message
Paul  is currently offline Paul
Messages: 2
Registered: October 2011
Junior Member
Hi Jason,
Thanks for the reply - just checked and yes isxfshort.class is in the jar.

I only get this error when retrieving and using smallint data types from BIRT, if I use the same jdbc driver with another application (RazorSQL etc.) all seems OK.

Kind regards,
Paul
Re: JDBC error [message #734372 is a reply to message #734241] Fri, 07 October 2011 14:42 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you log a bug for this?

Jason

On 10/7/2011 4:33 AM, Paul wrote:
> Hi Jason,
> Thanks for the reply - just checked and yes isxfshort.class is in the jar.
>
> I only get this error when retrieving and using smallint data types from
> BIRT, if I use the same jdbc driver with another application (RazorSQL
> etc.) all seems OK.
>
> Kind regards,
> Paul
Previous Topic:Decimal to Hours:Minute conversion
Next Topic:Perspective
Goto Forum:
  


Current Time: Tue Sep 02 21:19:05 GMT 2014

Powered by FUDForum. Page generated in 0.02382 seconds