Thread View: borland.public.datagateway
1 messages
1 total messages
Started by Alan McCreary
Mon, 31 May 1999 00:00
VerifyError at borland.jdbc.Broker.ResultSet.getMetaData(ResultSet.java:1366)
Author: Alan McCreary
Date: Mon, 31 May 1999 00:00
Date: Mon, 31 May 1999 00:00
45 lines
2152 bytes
2152 bytes
I have code which works in JBuilder 1 & JBuilder 2 and I can deploy
using JB 1 but not JB 2. Below is the error message when deployed
from JB 2, and the section of code with the problem. Would someone
be able to tell me what I'm missing?
Java(TM) Plug-in
Using JRE version 1.1.7B
User home directory = C:\WINNT\Profiles\mccreary
Proxy Configuration: no proxy
Request focus
JAR cache disabled.
Opening http://Cube.telemed.ucalgary.ca/jb/test2/Applet2.jar no proxy
99 05 27 14:32
Request focus
select LastName from AppIds where Id > 10
Exception occurred during event dispatching:
java.lang.VerifyError
at borland.jdbc.Broker.ResultSet.getMetaData(ResultSet.java:1366)
at borland.jdbc.Broker.ResultSet.next(ResultSet.java:1494)
at test2.Applet2.showIds(Compiled Code)
at test2.Applet2.button1_actionPerformed(Applet2.java:77)
at test2.Applet2$1.actionPerformed(Applet2.java:58)
at java.awt.Button.processActionEvent(Button.java:256)
at java.awt.Button.processEvent(Button.java:229)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
void showIds() {
String query = "select LastName from AppIds where Id > 10";
try {
System.out.println(query);
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
System.out.println(rs.getString(1));
}
stmt.close();
} catch(SQLException ex) {
System.err.print("SQLException: ");
System.err.println(ex.getMessage());
}
}
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