Newbie postgres/JDBC question.

From: "dlangschied" <dlangschied(at)ameritech(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Newbie postgres/JDBC question.
Date: 2003-05-29 12:16:59
Message-ID: 004601c325dc$348af2a0$6501a8c0@lcshost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all!

I have a question that pertains to the update of records in a postgres
database using JDBC. I extract a record from the database for update and,
and after modification to the record, I place these changes into postgres.
It does not look, via the documentation on JDBC, as if I have prevented
someone from making changes at the same time. Is there a command that I
must first perform to lock a record that is being updated? If a record is
locked when another user wants access, what type of error information can be
acquired to pass on to the user?

Sincerely,

David Langschied
Langschied Consulting Services
25644 Mackinac
Roseville, MI 48066

Phone: (586)777-7542
Cell: (248)789-8493
e-mail: dlangschied(at)ameritech(dot)net

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Fernando Nasser 2003-05-29 13:54:35 JDBC: One more autocommit use to work around
Previous Message Dave Cramer 2003-05-29 05:25:21 Re: Newbie postgres/JDBC question.