Hi,

I am a relatively new user of mySQL. I have written a program that uses JDBC 
to access a mySQL database. I seem to find no other ResultSet metadata 
statements other than ResultSet.getMetadata().getColumnName(1), 
ResultSet.getString(1) etc and stuff.

I can use ResultSet.getRow() though its not in the mySQL JDBC API.

Ok, what I want is to know how many rows I have deleted, inserted, updated, 
selected and whether the operation was successful or not. This can easily be 
seen in the mySQL environment ( e.g. c:\mySQL\bin>DELETE * from item;) and 
the message is clear (e.g Query OK, 0 Rows affected..).

How can I get thses messages using the resultSet in a Java program.


I appreciate your help in advance!

Maybin




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to