dbTalk Databases Forums  

NullPointerException -> com.mysql.jdbc.ResultSet.findColumn

mailing.database.mysql-java mailing.database.mysql-java


Discuss NullPointerException -> com.mysql.jdbc.ResultSet.findColumn in the mailing.database.mysql-java forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
julio.augusto
 
Posts: n/a

Default NullPointerException -> com.mysql.jdbc.ResultSet.findColumn - 09-16-2006 , 07:15 PM






Hi,

I tried to execute a simple query on a MyISAM table but a
NullPointerException (com.mysql.jdbc.ResultSet.findColumn) was showed.
It is an ConnectorJ bug?

Here is the code:

String query_cidade= "SELECT cidade.ci_t_nome FROM cidade WHERE
cidade.ci_n_id = 88412";

ResultSet rs_cidade = stmt.executeQuery(query_cidade);

Here is my configuration:
- Windows XP Professional
- JRE v1.5.0_06
- MySQL v5.0.15
- ConnectorJ v5.0.3

Thanks
Julio


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.