Thread: JDBC2 - DataSource implementation missing.

JDBC2 - DataSource implementation missing.

From
Gunnar R|nning
Date:
Hi, 

As I'm evaluating Castor(castor.exolab.org) for use with PostgreSQL I
noticed that the current release is missing a datasource
implementation. From reading the archives and correspondence with Assaf
Arkin I know that there is an implementation of this, but it would be very
nice if it were integrated into the JDBC driver shipped with pgsql. Some of
Arkins code is indeed there(look in org.postgresql.xa), but the crucial
org.postgresql.PostgresqlDataSource is missing. 

So I have to resort to using Arkins modified jdbc driver for this, but this
is for an older version of the database. Has there been any changes to
the backend protocol or should this work just fine ?

regards, 
Gunnar


RE: JDBC2 - DataSource implementation missing.

From
Peter Mount
Date:
Hmmm, I included everything I had. I'll check to see if I missed it out when
I did the "cvs add" for the files. That's probably why it's missing. (can't
do it from here, as my copy of Assaf's source is at home).

As for the protocol, the 6.5.3 driver should work ok with 7.0.

Peter

-----Original Message-----
From: Gunnar R|nning [mailto:gunnar@candleweb.no]
Sent: Wednesday, May 31, 2000 3:49 PM
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] JDBC2 - DataSource implementation missing.


Hi, 

As I'm evaluating Castor(castor.exolab.org) for use with PostgreSQL I
noticed that the current release is missing a datasource
implementation. From reading the archives and correspondence with Assaf
Arkin I know that there is an implementation of this, but it would be very
nice if it were integrated into the JDBC driver shipped with pgsql. Some of
Arkins code is indeed there(look in org.postgresql.xa), but the crucial
org.postgresql.PostgresqlDataSource is missing. 

So I have to resort to using Arkins modified jdbc driver for this, but this
is for an older version of the database. Has there been any changes to
the backend protocol or should this work just fine ?

regards, 
Gunnar


Re: JDBC2 - DataSource implementation missing.

From
Gunnar R|nning
Date:
Peter Mount <petermount@it.maidstone.gov.uk> writes:

> Hmmm, I included everything I had. I'll check to see if I missed it out when
> I did the "cvs add" for the files. That's probably why it's missing. (can't
> do it from here, as my copy of Assaf's source is at home).
> 

I think you missed postgresql.PostgresqlDataSource(or
org.postgresql.PostgresqlDataSource with the new package structure). 

regards, 
Gunnar


RE: JDBC2 - DataSource implementation missing.

From
Peter Mount
Date:
Yes, it's possible which is why I'll check my machine at home (I still have
the scratch directory where both Assaf's source and the new one exists).

It got unnoticed, because I don't have the facility to test the xa package
yet.

Peter

-- 
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council. 


-----Original Message-----
From: Gunnar R|nning [mailto:gunnar@candleweb.no]
Sent: Wednesday, May 31, 2000 4:23 PM
To: Peter Mount
Cc: 'Gunnar R|nning'; pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] JDBC2 - DataSource implementation missing.


Peter Mount <petermount@it.maidstone.gov.uk> writes:

> Hmmm, I included everything I had. I'll check to see if I missed it out
when
> I did the "cvs add" for the files. That's probably why it's missing.
(can't
> do it from here, as my copy of Assaf's source is at home).
> 

I think you missed postgresql.PostgresqlDataSource(or
org.postgresql.PostgresqlDataSource with the new package structure). 

regards, 
Gunnar