Re: JDBC connectivity issue

From: JCMS22 <jeanlavoie22(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: JDBC connectivity issue
Date: 2018-03-23 14:24:28
Message-ID: 1521815068305-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message HORDER Phil 2018-03-23 15:42:09 RE: Foreign Key locking / deadlock issue.... v2
Previous Message JCMS22 2018-03-23 14:10:05 Re: JDBC connectivity issue