dbTalk Databases Forums  

no result set with update

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


Discuss no result set with update in the mailing.database.mysql-java forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
carlbernardi@gmail.com
 
Posts: n/a

Default no result set with update - 10-28-2007 , 08:48 PM






Hi,

I have a table that auto creates an unique ID for every row. The
problem is, any time I execute an sql update statement, the unique ID
of that row cannot be return. I have tried getGeneratedKeys() but
that gives me a null ResultSet. Does anyone know how this is done. I
know there is a function in PHP (mysql_id()) that does this but java
it seams to be impossible.

Thanks,

Carl


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.