pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Lazarus <andrew@pillette.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getHost()
Date: Thu, 5 Feb 2009 21:48:07 -0800
Message-ID: <658101611.20090205214807@pillette.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0902051819570.17892@leary.csoft.net>
References: <1649425263.20090203135336@pillette.com>
	<Pine.BSO.4.64.0902051819570.17892@leary.csoft.net>



>> 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.




view thread (4+ messages)  latest in thread

Message-ID: <658101611.20090205214807@pillette.com>
Permalink:  ../658101611.20090205214807@pillette.com/
Also on:    postgresql.org/message-id/658101611.20090205214807@pillette.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: andrew@pillette.com, books@ejurka.com
  Subject: Re: getHost()
  In-Reply-To: <658101611.20090205214807@pillette.com>
  References: <1649425263.20090203135336@pillette.com> <Pine.BSO.4.64.0902051819570.17892@leary.csoft.net> <658101611.20090205214807@pillette.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox