Subject Re: [Firebird-Java] Insert performance
Author William L. Thomson Jr.
On Thu, 2002-11-21 at 19:08, Blas Rodriguez Somoza wrote:
> Hello
>
> If you have an error in an execute or executeUpdate, the driver will send a SQLException, so you don't need the line count.
>
> Only if you need to know how many lines are affected then you must use the line count.
>
> If you really need to know the rows affected then use executeUpdate, but you will pay the overload.

Nope I really do not care about that at the moment. So your
suggestion/recommendation is greatly appreciated.

As who knows how long I would have gone on with executeUpdate, making
the additional call for the Update Count that was not really being used
properly.

Thanks

--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com