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

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

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Mon, Mar 11, 2013 at 10:23 AM, Loïc PÉRON <loic.peron@bigfoot.com> wrote:
Hi all,

The attached patch does the following:

- changes visibility of Driver.parseUrl to public static
 - changes visibility of BaseDataSource.getUrl to public
 - add setUrl to BaseDataSourc based on Driver.parseUrl

Adding this property to all datasources simplifies their set-up by
 using the same url/user/pass as with DriverManager.

--
Loïc PÉRON
mailto:loic.peron<at>bigfoot.com


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc


pgsql-jdbc by date:

Previous
From: Loïc PÉRON
Date:
Subject: [PATCH] Expose URL property in BaseDataSource
Next
From: Kevin Wooten
Date:
Subject: A new JDBC driver...