SQL java get value assigned to auto increment primary key

Posted by iamrohitbanga on Stack Overflow See other posts from Stack Overflow or by iamrohitbanga
Published on 2010-05-17T21:44:44Z Indexed on 2010/05/17 21:50 UTC
Read the original article Hit count: 148

Filed under:
|
|

I have a primary key auto increment attribute in my table. I want to know the value assigned to it for a row that is inserted using statement.executeQuery(). How to achieve this in the best possible manner?

© Stack Overflow or respective owner

Related posts about sql

Related posts about java