Re: getHost() - Mailing list pgsql-jdbc

From Andrew Lazarus
Subject Re: getHost()
Date
Msg-id 658101611.20090205214807@pillette.com
Whole thread Raw
In response to Re: getHost()  (Kris Jurka <books@ejurka.com>)
Responses Re: getHost()
List pgsql-jdbc

>> Is there a particular reason that there is no
>>
>>  getHost()
>>
>> delegated from AbstractJDBC*Connection to the
>> ProtocolConnection? I have been unable to find a way to get the
>> hostname.

KJ> I'm not sure why you would need it. [....]

I wanted to instantiate a JPA/TopLink EntityManager with the same
host/database as an existing JDBC Connection. If not, then two
different objects have to search properties for the parameters.


pgsql-jdbc by date:

Previous
From: kooifei
Date:
Subject: Need help installing/setting up JDBC on Solaris 10
Next
From: Kris Jurka
Date:
Subject: Re: getHost()