Thread: Connection.setCatalog("DBNAME") does not work.....

Connection.setCatalog("DBNAME") does not work.....

From
Maffeo Gaetano
Date:

Hi all,

I am using JBOSS V3.2.2 with postgresql.
My datasource require as necessary the database name and the setCatalog method of the connection class does not work.
Why?
How can i avoid such a problem?

many thanks in advance

Gaetano Maffeo
Italdata S.p.A.
Gruppo
Siemens Business Services

Collina Liguorini - Centro Direzionale Edificio D
83100 Avellino - Italy
Tel.: +390825771368
Fax: +390825771332/+390825771213
MailTo:gaetano.maffeo@siemens.com
www.italdata.it

Re: *****SPAM***** Connection.setCatalog("DBNAME") does not

From
Dave Cramer
Date:
you cannot connect to another db through the postgres jdbc driver, it is
not supported by the backend.

Dave
On Tue, 2003-11-25 at 11:43, Maffeo Gaetano wrote:
> Hi all,
>
> I am using JBOSS V3.2.2 with postgresql.
> My datasource require as necessary the database name and the
> setCatalog method of the connection class does not work.
> Why?
> How can i avoid such a problem?
>
> many thanks in advance
>
> Gaetano Maffeo
> Italdata S.p.A.
> Gruppo
> Siemens Business Services
> Collina Liguorini - Centro Direzionale Edificio D
> 83100 Avellino - Italy
> Tel.: +390825771368
> Fax: +390825771332/+390825771213
> MailTo:gaetano.maffeo@siemens.com
> www.italdata.it
>
>