Обсуждение: DataSource

Поиск
Список
Период
Сортировка

DataSource

От
Avramucz István
Дата:
Hello jdbcList!

Which classes implement the javax.sql.DataSource and
javax.sql.XADataSource interfaces in Postgres JDBC ?

PG_VERSION -> 7.3

Thanks.
AI



Re: DataSource

От
Laszlo Hornyak
Дата:
If you want XA, you need this patch:
http://www.hut.fi/~hlinnaka/pgsql/

Or you can try to use EnabledDatasource from tyrex.

Laszlo

On Thu, 20 Jan 2005, [ISO-8859-2] Avramucz István wrote:

>
> Hello jdbcList!
>
> Which classes implement the javax.sql.DataSource and
> javax.sql.XADataSource interfaces in Postgres JDBC ?
>
> PG_VERSION -> 7.3
>
> Thanks.
> AI
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

Re: DataSource

От
Kris Jurka
Дата:

On Thu, 20 Jan 2005, [ISO-8859-2] Avramucz István wrote:

> Which classes implement the javax.sql.DataSource and

http://www.postgresql.org/docs/7.3/static/jdbc-datasource.html

> javax.sql.XADataSource interfaces in Postgres JDBC ?
>

PostgreSQL does not have XA support because the backend does not have two
phase commit support.  There is hope this will be coming in version 8.1.

Kris Jurka


Re: DataSource

От
Dave Cramer
Дата:
It is unlikely for 8.1 as the current plan is a 2 month release cycle
which will not allow this patch to be implemented.

Dave

Kris Jurka wrote:

>On Thu, 20 Jan 2005, [ISO-8859-2] Avramucz István wrote:
>
>
>
>>Which classes implement the javax.sql.DataSource and
>>
>>
>
>http://www.postgresql.org/docs/7.3/static/jdbc-datasource.html
>
>
>
>>javax.sql.XADataSource interfaces in Postgres JDBC ?
>>
>>
>>
>
>PostgreSQL does not have XA support because the backend does not have two
>phase commit support.  There is hope this will be coming in version 8.1.
>
>Kris Jurka
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 7: don't forget to increase your free space map settings
>
>
>
>

--
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561


Re: DataSource

От
Kris Jurka
Дата:

On Thu, 20 Jan 2005, Dave Cramer wrote:

> It is unlikely for 8.1 as the current plan is a 2 month release cycle
> which will not allow this patch to be implemented.
>

I wouldn't say that this is the current plan.  It's been discussed, but no
agreement that I can see has been reached.  Certainly a two month
cycle and short beta is a challenge for a development group that
has just completed five and a half month beta period.  I also don't see
how this won't kill new feature development unless the 8.2 branch is
opened for commits immediately.  I don't wish to start that debate here,
but I would not agree that it a foregone conclusion that this will not be
in 8.1.

Kris Jurka