Re: JDBC connectivity issue - Mailing list pgsql-general

From JCMS22
Subject Re: JDBC connectivity issue
Date
Msg-id 1521815068305-0.post@n3.nabble.com
Whole thread Raw
In response to Re: JDBC connectivity issue  (JCMS22 <jeanlavoie22@gmail.com>)
Responses Re: JDBC connectivity issue  (Dave Cramer <pg@fastcrypt.com>)
List 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


pgsql-general by date:

Previous
From: JCMS22
Date:
Subject: Re: JDBC connectivity issue
Next
From: HORDER Phil
Date:
Subject: RE: Foreign Key locking / deadlock issue.... v2