jQuery in Action, 2nd edition
The moose likes JDBC and the fly likes jdbc with mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "jdbc with mysql" Watch "jdbc with mysql" New topic
Author

jdbc with mysql

maheshm morem
Greenhorn

Joined: Sep 23, 2010
Posts: 26
my jsp progrm does not work it gives me error as java.sql.SQLExcption[microsoft] [ODBC Driver Manager] invalid curser state. please help me
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26201
    
  66

Can you show the code? The most common cause is not calling rs.next(), but it could be something else.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Why are you getting an ODBC error? You should be using the MySQL Connector-J Driver (avaiolable on the MySQL website) and not the JDBC-ODBC bridge.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: jdbc with mysql
 
Similar Threads
Google India CodeJam
acronym atrocity
How many Brits and Europeans on this board?
A Challenge!
13 Nov Riddle