A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
executeUpdate() returned is -1
Ravi Kiran Va
Joined: Apr 18, 2009
May 05, 2009 02:53:19
Please tell me executeUpdate() returned is -1 , what does this indicate ?
Save India From Corruption - Anna Hazare.
Joined: Dec 20, 2006
May 05, 2009 04:28:27
Ooch, the specs (
either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing
-1 is an undocumented return value? Please show your update statement.
OCUP UML fundamental and ITIL foundation
Joined: Jan 01, 2009
May 05, 2009 08:16:48
OR Do you mean getUpdateCount() ? which returns -1 when there no results.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: executeUpdate() returned is -1
Last record is not inserted
Insert into DB2
Constraint on table that prohibits record inserts using web based app(JAVA)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015