Re: OCI, how to detect a no_data_found with an update
From: Olivier Guyot <guyot.oliv_at_wanadoo.fr>
Date: 14 Jun 2004 00:20:45 -0700
Message-ID: <67fd8aab.0406132320.367f1dbc_at_posting.google.com>
Date: 14 Jun 2004 00:20:45 -0700
Message-ID: <67fd8aab.0406132320.367f1dbc_at_posting.google.com>
Hello José,
I am not aware of the OCI driver but I can tell you that with the thin JDBC driver it is easy.
The fact is that with the Jdbc driver you have to use another method : stmt.executeUpdate(SStmt) instead of the classic stmt.execute(SStmt).
Then the executeUpdate returns the number of updated rows.
Regs,
Olivier Guyot Received on Mon Jun 14 2004 - 09:20:45 CEST