File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: executeUpdate() returned is -1
Last record is not inserted
Constraint on table that prohibits record inserts using web based app(JAVA)
Insert into DB2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013