Re: Query with tables from 2 different databases in Java

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: Query with tables from 2 different databases in Java
Дата
Msg-id 4668154A.3090105@mail.nih.gov
обсуждение исходный текст
Ответ на Query with tables from 2 different databases in Java  ("Loredana Curugiu" <loredana.curugiu@gmail.com>)
Ответы Re: Query with tables from 2 different databases inJava
Список pgsql-novice
Loredana Curugiu wrote:
> Hi,
>
> I need a query to use tables from 2 different databases and
> that query to be executed from a .java file. What do you recommand?

Hi, Loredana.  You can't execute a query that includes two different
databases in postgresql.  However, you may want to look at the dblink
contributed module (in contrib/dblink in the postgresql source) that
provides an extension to do this.  I have no idea how this will behave
in the context of a java client, though.

Sean

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

Предыдущее
От: "Loredana Curugiu"
Дата:
Сообщение: Query with tables from 2 different databases in Java
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: [JDBC] Query with tables from 2 different databases in Java