Re: JDBC connectivity issue

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: JCMS22 <jeanlavoie22(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: JDBC connectivity issue
Date: 2018-03-23 17:12:26
Message-ID: CADK3HHLWxEstnCkSOS4S8G3RJ3+P-AMXa2mKTyf4GZ0u7Nr4ww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cool, thanks. I'd love to see this work

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

On 23 March 2018 at 10:24, JCMS22 <jeanlavoie22(at)gmail(dot)com> wrote:

> 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

Browse pgsql-general by date

  From Date Subject
Next Message Christoph Berg 2018-03-23 17:41:19 Re: postgresql-10.3 on unbuntu-17.10 - how??
Previous Message HORDER Phil 2018-03-23 15:42:09 RE: Foreign Key locking / deadlock issue.... v2