Thread: JDBC: Insert ID
View Single Post
Old 06-21-2004, 01:27 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,470
sde is on a distinguished road
JDBC: Insert ID

When you have a database that you can setup to automatically increment an ID field, is there a way via JDBC to retrieve the value after an insert?

I'm using JDBC with DB2 and I'm not sure if I'm just sol on this one.
__________________
Mike
sde is offline   Reply With Quote