Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JDBC-ODBC bridge and prepared statements


  • From: fastegal@xxxxxxxxxxxxxxxxxx (Kleopatra)
  • Subject: JDBC-ODBC bridge and prepared statements
  • Date: Thu, 30 Mar 2000 20:01:01 +0200


"Dickinson, Ian J" schrieb:
> 
> Hi,
> I'm using the JDBC-ODBC bridge in JDK 1.2.2, and I find that if I use a
> prepared statement instead of creating a statement each time I query the DB,
> I get SQLException 2400 "invalid cursor state" the second time I do an
> executeQuery() on the statement. 

The mantra of this bug was: "close it, close it, close it..." (it being
the resultSet after looping trough the records).

Greetings
Jeanette


---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx