Re: [PATCH] Expose URL property in BaseDataSource

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Loïc PÉRON <loic(dot)peron(at)bigfoot(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [PATCH] Expose URL property in BaseDataSource
Date: 2013-03-11 22:32:05
Message-ID: CADK3HHJachY5+uCXruCg-nKLVvJRH4QRQeZese-j5UT1r=F0cA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)peron(at)bigfoot(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Wooten 2013-03-12 01:19:11 A new JDBC driver...
Previous Message Loïc PÉRON 2013-03-11 14:23:22 [PATCH] Expose URL property in BaseDataSource