Thread View: borland.public.datagateway
3 messages
3 total messages
Started by Timo H Jarvinen
Thu, 27 May 1999 00:00
ResultSet problem
Author: Timo H Jarvinen
Date: Thu, 27 May 1999 00:00
Date: Thu, 27 May 1999 00:00
30 lines
1232 bytes
1232 bytes
Hello,
I have made a simple test program for DataGateway that makes a simple
query to Fulcrum database. The funny thing is that it works on some
computers, on others it doesn't.
The error message:
Exception in thread "main" java.lang.VerifyError: <class:
borland/jdbc/Broker/Resul....method: _$5 signature: <>V> Expecting to
find
unitialized object on stack
at borland.jdbc.Broker.ResultSet.getMetaData<ResultSet.java:1366>
at testi.main<compiled code>
The problem is in handling the result set:
while (rs.next()) {
System.out.println(rs.getString(1));
}
If I take that part of the code away, everything works fine.
Any idea what's going on?
---
Timo Jarvinen
VTT Information Technology
Re: ResultSet problem
Author: Timo H Jarvinen
Date: Thu, 27 May 1999 00:00
Date: Thu, 27 May 1999 00:00
40 lines
1475 bytes
1475 bytes
Hello again,
I found the solution myself. With newer version of DataGateway.zip file
(March 11 1998) the program works.
----
Regards,
Timo
I wrote:
> Hello,
>
> I have made a simple test program for DataGateway that makes a simple
> query to Fulcrum database. The funny thing is that it works on some
> computers, on others it doesn't.
>
> The error message:
>
> Exception in thread "main" java.lang.VerifyError: <class:
> borland/jdbc/Broker/Resul....method: _$5 signature: <>V> Expecting to
> find
> unitialized object on stack
> at borland.jdbc.Broker.ResultSet.getMetaData<ResultSet.java:1366>
> at testi.main<compiled code>
>
> The problem is in handling the result set:
>
> while (rs.next()) {
> System.out.println(rs.getString(1));
> }
>
> If I take that part of the code away, everything works fine.
>
> Any idea what's going on?
>
> ---
> Timo Jarvinen
> VTT Information Technology
Re: ResultSet problem
Author: Alan McCreary
Date: Thu, 27 May 1999 00:00
Date: Thu, 27 May 1999 00:00
46 lines
1770 bytes
1770 bytes
I am having the same problem when I deploy from JBuilder C/S ver 2 (ver
1 is OK). Where can I get a copy of the newer DataGateway.zip file?
- Alan McCreary
Timo H Jarvinen wrote:
>
> Hello again,
>
> I found the solution myself. With newer version of DataGateway.zip file
> (March 11 1998) the program works.
>
> ----
> Regards,
> Timo
>
> I wrote:
>
> > Hello,
> >
> > I have made a simple test program for DataGateway that makes a simple
> > query to Fulcrum database. The funny thing is that it works on some
> > computers, on others it doesn't.
> >
> > The error message:
> >
> > Exception in thread "main" java.lang.VerifyError: <class:
> > borland/jdbc/Broker/Resul....method: _$5 signature: <>V> Expecting to
> > find
> > unitialized object on stack
> > at borland.jdbc.Broker.ResultSet.getMetaData<ResultSet.java:1366>
> > at testi.main<compiled code>
> >
> > The problem is in handling the result set:
> >
> > while (rs.next()) {
> > System.out.println(rs.getString(1));
> > }
> >
> > If I take that part of the code away, everything works fine.
> >
> > Any idea what's going on?
> >
> > ---
> > Timo Jarvinen
> > VTT Information Technology
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads