commit after select

Поиск
Список
Период
Сортировка
От bob1234@pi.be (Bob Bie)
Тема commit after select
Дата
Msg-id 3f58d24f.0404040924.16134fe4@posting.google.com
обсуждение исходный текст
Ответы Re: commit after select
Список pgsql-jdbc
Hello,

I'm writing a java program that uses transactions. For this reason I
turned of the autocimmit in java (sqlConnection.setAutocommit(false);)
This seems to work but now he also seems to lock the tables when I
only do a select. I can solve this bij doing a commit after each
select.

I only want to know if it is normal that I have to do a commit after a
select.
I use java 1.4.2_01 and postgres 7.3. The jdbc driver I use is called
pg73jdbc3.

Thanx in advance,
Bob

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: jeff@amiel.net (Jeff Amiel)
Дата:
Сообщение: Re: what is lslowing me down? JDBC or Postgresql itself?
Следующее
От: "brandon s"
Дата:
Сообщение: Connection Pooling, JDBC and SSL