Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group