From: JCMS22 <jeanlavoie22@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: JDBC connectivity issue
Date: Fri, 23 Mar 2018 07:24:28 -0700 (MST)
Message-ID: <1521815068305-0.post@n3.nabble.com> (raw)
In-Reply-To: <1521814205619-0.post@n3.nabble.com>
References: <fde5b685-6820-daa6-de4a-b94d16ba39c5@pgsqlrocket.com>
<1521814205619-0.post@n3.nabble.com>
I forgot to say I am trying to investigate how to make it work as we need
specific stuff from the DataSource object.
It might work if you use setServerName rather than setUrl. setServerName
will append itself the jdbc:postgresql:// so you only give it the server
name (i.e "url1:port1,url2:port2") and then setPortNumber to 0. By reading
the code, this might work.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
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-general@postgresql.org
Cc: jeanlavoie22@gmail.com
Subject: Re: JDBC connectivity issue
In-Reply-To: <1521815068305-0.post@n3.nabble.com>
References: <fde5b685-6820-daa6-de4a-b94d16ba39c5@pgsqlrocket.com> <1521814205619-0.post@n3.nabble.com> <1521815068305-0.post@n3.nabble.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