Re: [PATCH] Expose URL property in BaseDataSource
От | Dave Cramer |
---|---|
Тема | Re: [PATCH] Expose URL property in BaseDataSource |
Дата | |
Msg-id | CADK3HHJachY5+uCXruCg-nKLVvJRH4QRQeZese-j5UT1r=F0cA@mail.gmail.com обсуждение исходный текст |
Ответ на | [PATCH] Expose URL property in BaseDataSource (Loïc PÉRON <loic.peron@bigfoot.com>) |
Ответы |
Re: [PATCH] Expose URL property in BaseDataSource
|
Список | pgsql-jdbc |
Looking at the spec these are not part of the Datasource API ? Or am I mistaken ?
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 по дате отправления: