Re: Multi-thread use of a connection

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Multi-thread use of a connection
Дата
Msg-id 1027375493.27917.3.camel@inspiron.cramers
обсуждение исходный текст
Ответ на Multi-thread use of a connection  ("Chris White" <cjwhite@cisco.com>)
Список pgsql-jdbc
Chris,

AFAIK, two threads cannot share a connection. Which documentation are
you referring to?

Either way you can only have one transaction open on a connection.

Dave
On Mon, 2002-07-22 at 17:12, Chris White wrote:
> The documentation states the jdbc driver is thread safe allowing multiple
> threads to share the same connection. The documentation only talks about
> queries. So my question is: What if 2 threads are doing transactions and one
> wants to commit its data, does this mean that the other threads data will
> also be committed even though it hasn't completed it's transaction or is the
> driver aware of this?
>
> Chris White



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

Предыдущее
От: Meder Bakirov
Дата:
Сообщение: Re: Several left outer joins on a same table
Следующее
От: Amel Mammar
Дата:
Сообщение: Postgres JDBC