List:MySQL and Java« Previous MessageNext Message »
From:Mauno Ryytty Date:March 15 2003 10:58pm
Subject:VS: getGeneratedkeys() returns -1
View as plain text  
java for anti-spam;

When I insert a new row using insertRow() into a table with an autoIncrement
primary key
field, the record is inserted and field is incremented ok, but
getGeneratedKeys()
returns -1.

? why ?

Mauno

Thread
VS: getGeneratedkeys() returns -1 Mauno Ryytty15 Mar