control action query

Lists: pgsql-jdbc
From: "Nico" <nicohmail-postgresql(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: control action query
Date: 2005-01-17 16:46:58
Message-ID: csgq63$2ckp$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

I made several query's(update, delete and insert commands). How do I know
they were well executed?
Do I do it with SQLWarnings() or is there a better/simpler/faster way to do
the job?

Nico.


From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: "Nico" <nicohmail-postgresql(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: control action query
Date: 2005-01-17 17:06:40
Message-ID: 87zmz8rnmn.fsf@meuh.mnc.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

"Nico" <nicohmail-postgresql 'at' yahoo.com> writes:

> I made several query's(update, delete and insert commands). How do I know
> they were well executed?
> Do I do it with SQLWarnings() or is there a better/simpler/faster way to do
> the job?

This is a very basic question. See for example:

http://www-db.stanford.edu/~ullman/fcdb/oracle/or-jdbc.html#executeUpdate

--
Guillaume Cottenceau