pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Support for procedures call
3+ messages / 2 participants
[nested] [flat]

* Support for procedures call
@ 2019-11-14 14:04  Roxana Tolosi <roxana.tolosi@asf.ro>
  0 siblings, 1 reply; 3+ messages in thread

From: Roxana Tolosi @ 2019-11-14 14:04 UTC (permalink / raw)
  To: pgsql-jdbc

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.tolosi@asf.ro
www.asf.ro

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Support for procedures call
@ 2020-04-27 10:47  Dave Cramer <pg@fastcrypt.com>
  parent: Roxana Tolosi <roxana.tolosi@asf.ro>
  0 siblings, 1 reply; 3+ messages in thread

From: Dave Cramer @ 2020-04-27 10:47 UTC (permalink / raw)
  To: Roxana Tolosi <roxana.tolosi@asf.ro>; pgsql-jdbc@lists.postgresql.org

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@postgresintl.com
www.postgresintl.com


On Mon, 27 Apr 2020 at 05:19, Roxana Tolosi <roxana.tolosi@asf.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.tolosi@asf.ro
> www.asf.ro
>
>
>
>
>
> *From:* Dave Cramer <pg@fastcrypt.com>
> *Sent:* Sunday, November 17, 2019 4:16 PM
> *To:* Roxana Tolosi <roxana.tolosi@asf.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@postgresintl.com
>
> www.postgresintl.com
>
>
>
>
>
> On Thu, 14 Nov 2019 at 10:39, Roxana Tolosi <roxana.tolosi@asf.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.tolosi@asf.ro
> www.asf.ro
>
>
>
>
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* RE: Support for procedures call
@ 2020-04-27 10:52  Roxana Tolosi <roxana.tolosi@asf.ro>
  parent: Dave Cramer <pg@fastcrypt.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Roxana Tolosi @ 2020-04-27 10:52 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc@lists.postgresql.org

Thank you very much for your answer!

Roxana.



*Roxana Tolosi*
Project Manager
Advantage Software Factory

Work:
Fax:
Mobile:

+40212428720
+40212428722
+40 728 306 339

roxana.tolosi@asf.ro
www.asf.ro





*From:* Dave Cramer <pg@fastcrypt.com>
*Sent:* Monday, April 27, 2020 1:48 PM
*To:* Roxana Tolosi <roxana.tolosi@asf.ro>; pgsql-jdbc@lists.postgresql.org
*Subject:* Re: Support for procedures call





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@postgresintl.com

www.postgresintl.com





On Mon, 27 Apr 2020 at 05:19, Roxana Tolosi <roxana.tolosi@asf.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.tolosi@asf.ro
www.asf.ro





*From:* Dave Cramer <pg@fastcrypt.com>
*Sent:* Sunday, November 17, 2019 4:16 PM
*To:* Roxana Tolosi <roxana.tolosi@asf.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@postgresintl.com

www.postgresintl.com





On Thu, 14 Nov 2019 at 10:39, Roxana Tolosi <roxana.tolosi@asf.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.tolosi@asf.ro
www.asf.ro

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-04-27 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 14:04 Support for procedures call Roxana Tolosi <roxana.tolosi@asf.ro>
2020-04-27 10:47 ` Dave Cramer <pg@fastcrypt.com>
2020-04-27 10:52   ` Roxana Tolosi <roxana.tolosi@asf.ro>

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