pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Andrew Lazarus <andrew@pillette.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getHost()
Date: Fri, 6 Feb 2009 10:54:08 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0902061052290.14706@leary.csoft.net> (raw)
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>



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



view thread (4+ messages)

Message-ID: <Pine.BSO.4.64.0902061052290.14706@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0902061052290.14706@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0902061052290.14706@leary.csoft.net

 · 

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: books@ejurka.com, andrew@pillette.com
  Subject: Re: getHost()
  In-Reply-To: <Pine.BSO.4.64.0902061052290.14706@leary.csoft.net>
  References: <1649425263.20090203135336@pillette.com> <Pine.BSO.4.64.0902051819570.17892@leary.csoft.net> <658101611.20090205214807@pillette.com> <Pine.BSO.4.64.0902061052290.14706@leary.csoft.net>

* 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