Re: getHost()

From: Kris Jurka <books(at)ejurka(dot)com>
To: Andrew Lazarus <andrew(at)pillette(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getHost()
Date: 2009-02-06 15:54:08
Message-ID: Pine.BSO.4.64.0902061052290.14706@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 5 Feb 2009, Andrew Lazarus wrote:

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

Seems like you would also need to know the port number and the password as
well. I doubt it's a good idea to be exposing the password, so I'm still
not convinced there's a real good use for this.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2009-02-06 22:24:29 Re: Need help installing/setting up JDBC on Solaris 10
Previous Message Andrew Lazarus 2009-02-06 05:48:07 Re: getHost()