A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
ResultSet object from executeUpdate()
Joined: May 17, 2001
Feb 18, 2002 01:40:00
Is it possible to get
object from executeUpdate().
It would be very useful if you could send me the information ASAP.
Thanking you in advance.
Joined: Jun 25, 2001
Feb 18, 2002 03:16:00
The executeUpdate() RETURNS "either the row count for INSERT, UPDATE or DELETE statements, or 0 for SQL statements that return nothing, that is for DDL statements"
So, u have to use executeQuery() only.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: ResultSet object from executeUpdate()
inserting into a database problems
insert command is not working.
executing an INSERT statement using a PreparedStatement
No ResultSet was produced
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013