db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Ji" <hongco...@gmail.com>
Subject Statement.getGenerateKeys() doesn't work with Derby
Date Wed, 26 Jul 2006 04:56:53 GMT
Hello,

I am using a PerparedStatement to insert a record. After the record is
inserted (after statement.executeUpdate()), I call
aStatement.getGeneratedKeys() to retrieve the generated id of the new
record, but it returns a null ResultSet.

Is getGeneratedKeys() supposed to work with Derby?


Hong

Mime
View raw message