Re: Why oh why don't my updates stick?
Jim McBeath <[email protected]> Wed, 26 Jul 2006 15:13:50 -0700
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 26, 2006 at 03:05:55PM -0500, [email protected] wrote: Instead of using > updateStatement.execute(updateSQL.toString()); try int n = updateStatement.executeUpdate(updateSQL.toString()); The return value (n) is the number of rows updated, so you can see if mckoi thinks your statement should have updated a row. -- Jim --------------------------------------------------------------- Mckoi SQL Database mailing list http://www.mckoi.com/database/ To unsubscribe, send a message to [email protected]