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

From Loïc PÉRON
Subject [PATCH] Expose URL property in BaseDataSource
Date
Msg-id CAFKiveQyuA+PQ310pV3tLB5yyjWWbNsuyMaLcpuEW3jk8F_uFg@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Expose URL property in BaseDataSource  (Dave Cramer <pg@fastcrypt.com>)
List 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

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: executeUpdate API contract. Return value equals 0.
Next
From: Dave Cramer
Date:
Subject: Re: [PATCH] Expose URL property in BaseDataSource