Hi
My java app makes an insertion in an Informix DB. One of the columns in the database is an autogenerated integer value, which is the primary key to the table. After the insert, I need to obtain that value so I can update another table. How can I do it?
In java, the PreparedStatement class can be set with the RETURN_GENERATED_KEYS parameter, allowing getGeneratedKeys() to be called for this purpose. However the Informix version that I'm using (9.2 or 9.3) doesn't support this method. Is there another way to do this?
Thanks in advance!