Re: Support for procedures call

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Roxana Tolosi <roxana(dot)tolosi(at)asf(dot)ro>, pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: Re: Support for procedures call
Date: 2020-04-27 10:47:37
Message-ID: CADK3HHKPfn_JNNZR0uKt4x=mcX=T79W-UGqoB9WBO425QsyYmA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello Roxana,

The driver already supports it and has for a while. See
https://jdbc.postgresql.org/documentation/head/callproc.html
There is a property escapeSyntaxCallMode which controls how the driver
deals with procedures

Regards,

Dave Cramer

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

On Mon, 27 Apr 2020 at 05:19, Roxana Tolosi <roxana(dot)tolosi(at)asf(dot)ro> wrote:

> Hello,
>
>
>
> Do you have any news on an updated JDBC driver that can call procedures?
>
>
>
> Thank you,
> Roxana.
>
>
>
> *Roxana Tolosi*
> Project Manager
> Advantage Software Factory
>
> Work:
> Fax:
> Mobile:
>
> +40212428720
> +40212428722
> +40 728 306 339
>
> roxana(dot)tolosi(at)asf(dot)ro
> www.asf.ro
>
>
>
>
>
> *From:* Dave Cramer <pg(at)fastcrypt(dot)com>
> *Sent:* Sunday, November 17, 2019 4:16 PM
> *To:* Roxana Tolosi <roxana(dot)tolosi(at)asf(dot)ro>
> *Subject:* Re: Support for procedures call
>
>
>
> Are you aware you cannot use procedures in a transaction ?
>
>
>
> There is a pull request to allow them with a connection parameter. I
> suspect it will be merged for the next version
>
>
> Dave Cramer
>
> davec(at)postgresintl(dot)com
>
> www.postgresintl.com
>
>
>
>
>
> On Thu, 14 Nov 2019 at 10:39, Roxana Tolosi <roxana(dot)tolosi(at)asf(dot)ro> wrote:
>
> Hello,
>
>
>
> Can you tell me if in the near future the JDBC driver will support
> Postgresql procedures call?
>
>
>
> Our company is migrating a large product from Oracle to Postgresql and it
> will be a great help to keep the procedures instead of transforming them
> into functions.
>
>
>
> Thank you,
>
> Roxana.
>
>
>
> *Roxana Tolosi*
> Project Manager
> Advantage Software Factory
>
> Work:
> Fax:
> Mobile:
>
> +40212428720
> +40212428722
> +40 728 306 339
>
> roxana(dot)tolosi(at)asf(dot)ro
> www.asf.ro
>
>
>
>
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Roxana Tolosi 2020-04-27 10:52:30 RE: Support for procedures call
Previous Message Dave Cramer 2020-04-25 12:47:32 [pgjdbc/pgjdbc] 834a1d: Update issue templates