[PATCH] Expose URL property in BaseDataSource

From: Loïc PÉRON <loic(dot)peron(at)bigfoot(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [PATCH] Expose URL property in BaseDataSource
Date: 2013-03-11 14:23:22
Message-ID: CAFKiveQyuA+PQ310pV3tLB5yyjWWbNsuyMaLcpuEW3jk8F_uFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Attachment Content-Type Size
pgjdbc-seturl.patch text/plain 2.6 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2013-03-11 22:32:05 Re: [PATCH] Expose URL property in BaseDataSource
Previous Message Craig Ringer 2013-03-05 23:13:40 Re: executeUpdate API contract. Return value equals 0.