Re: [PATCH] Expose URL property in BaseDataSource - Mailing list pgsql-jdbc

From Loïc PÉRON
Subject Re: [PATCH] Expose URL property in BaseDataSource
Date
Msg-id CAFKiveQ8hnDpZZQ8_xbOjc3rCjxB8dkAJZ8nA=rSm7FH0RKh=Q@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Expose URL property in BaseDataSource  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: [PATCH] Expose URL property in BaseDataSource  (Loïc PÉRON <loic.peron@bigfoot.com>)
List pgsql-jdbc
2013/3/11 Dave Cramer <pg@fastcrypt.com>:
> Looking at the spec these are not part of the Datasource API ? Or am I
> mistaken ?

No they are not, but in fact no connection property is mandated by the
spec regarding DataSources.

It is simply a convenient way of configuring the DataSource, similar
to the configuration through DriverManager: url+user+pass

As the URL parsing is already present in Driver, and the URL building
in BaseDataaSource, I just connected url parsing to the BaseDataSource
attributes.

We currently use Oracle, HSQLDB and Postgresql, which is the only one
not exposing a URL property for datasources.

--
Loïc PÉRON
phone:(33) 683 880 177
mailto:loic.peron<at>bigfoot.com


pgsql-jdbc by date:

Previous
From: John Lister
Date:
Subject: Re: A new JDBC driver...
Next
From: Patric Bechtel
Date:
Subject: Re: A new JDBC driver...