Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 722C8632D52 for ; Fri, 6 Feb 2009 01:55:06 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61107-05 for ; Fri, 6 Feb 2009 01:54:59 -0400 (AST) X-Greylist: delayed 00:06:42.167532 by SQLgrey-1.7.6 Received: from smtp122.sbc.mail.sp1.yahoo.com (smtp122.sbc.mail.sp1.yahoo.com [69.147.64.95]) by mail.postgresql.org (Postfix) with SMTP id A1FB5632D61 for ; Fri, 6 Feb 2009 01:54:56 -0400 (AST) Received: (qmail 29139 invoked from network); 6 Feb 2009 05:48:15 -0000 Received: from unknown (HELO andrew-vm-winxp.localdomain) (andrew@76.200.130.151 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 6 Feb 2009 05:48:14 -0000 X-YMail-OSG: 5dv2j9QVM1m1ofaBO2BaZgwZ9v39XsC4aMQoAts54D4daQ0Cj1fqELs.6DgtVm02C1WuPDao316vcPQVeBRqWQex8rvUCAp8BwOiPxgiBRnNCFjurNFtC2ZRHzqq7QbGdJPizEo5GlGYoba8AIpURuEUqJTb_tIKGxamthELyDTAREPzSrHqQFEnAHVq X-Yahoo-Newman-Property: ymail-3 Date: Thu, 5 Feb 2009 21:48:07 -0800 From: Andrew Lazarus Organization: Pillette Investment Management X-Priority: 3 (Normal) Message-ID: <658101611.20090205214807@pillette.com> To: Kris Jurka CC: pgsql-jdbc@postgresql.org Subject: Re: getHost() In-Reply-To: References: <1649425263.20090203135336@pillette.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/14 X-Sequence-Number: 19289 =0D=0A >> 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.