Re: [GENERAL] Use, Set Catalog and JDBC questions

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: [GENERAL] Use, Set Catalog and JDBC questions
Дата
Msg-id 512BAE9A.2000401@gmail.com
обсуждение исходный текст
Ответ на Use, Set Catalog and JDBC questions  (Frank Cavaliero <fcavalie@us.ibm.com>)
Ответы Re: [GENERAL] Use, Set Catalog and JDBC questions  (Frank Cavaliero <fcavalie@us.ibm.com>)
Список pgsql-admin
On 02/25/2013 10:22 AM, Frank Cavaliero wrote:
> Hi,
>
> I have an application that requires to connect to each database
> available in PostgreSQL.  I have the following questions:
>
>
> 1.  Is there a USE DATABASE command or something of the sort (similar to
> MySQL) that allows you to quickly connect to a database without having
> to reconnect using the username,password and database again ?   In Java,
> we are using set catalog to do this in MySQL.
>
> 2.  Based on #1 above, would the latest JDBC driver support the ability
> to create this type of connection?

Not sure if this will do what want?:
http://jdbc.postgresql.org/documentation/91/datasource.html#ds-intro
>
>
> Thanks,
> Frank
>
> /Database Administrator/
>


--
Adrian Klaver
adrian.klaver@gmail.com


В списке pgsql-admin по дате отправления:

Предыдущее
От: Frank Cavaliero
Дата:
Сообщение: Use, Set Catalog and JDBC questions
Следующее
От: Frank Cavaliero
Дата:
Сообщение: Re: [GENERAL] Use, Set Catalog and JDBC questions