Re: Switching databases over JDBC/ODBC

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Switching databases over JDBC/ODBC
Дата
Msg-id 4A208ABA.90403@hogranch.com
обсуждение исходный текст
Ответ на Re: Switching databases over JDBC/ODBC  (Martin Gainty <mgainty@hotmail.com>)
Ответы Re: Switching databases over JDBC/ODBC  (Martin Gainty <mgainty@hotmail.com>)
Список pgsql-general
Martin Gainty wrote:
> does '\connect' work with Type-IV JDBC Database?
> can you effectively 'drop' the first DB connection
> and somehow read a different set of DB parameters to connect to a new DB?

\connect is a psql command, nothing to do with JDBC.

In Java, you would Close() a JDBC connection, then getConnection() to
create a new one.



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

Предыдущее
От: Martin Gainty
Дата:
Сообщение: Re: Switching databases over JDBC/ODBC
Следующее
От: Martin Gainty
Дата:
Сообщение: Re: Switching databases over JDBC/ODBC