Re: getHost()

From: Andrew Lazarus <andrew(at)pillette(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getHost()
Date: 2009-02-06 05:48:07
Message-ID: 658101611.20090205214807@pillette.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2009-02-06 15:54:08 Re: getHost()
Previous Message kooifei 2009-02-06 04:22:25 Need help installing/setting up JDBC on Solaris 10