From: David Goodenough <david.goodenough@btconnect.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: PL/java
Date: Tue, 08 Dec 2020 10:46:28 +0000
Message-ID: <4280243.LvFx2qVVIh@continuum> (raw)
In-Reply-To: <BLAPR19MB4227746DC4A48B47D2CB09DDAECE0@BLAPR19MB4227.namprd19.prod.outlook.com>
References: <77C7E1EE-F226-4C07-883A-A6F962D33AA3@carrotincentives.com>
<56364cd5-50ba-ac08-f857-2d66ae0b7133@gmail.com>
<BLAPR19MB4227746DC4A48B47D2CB09DDAECE0@BLAPR19MB4227.namprd19.prod.outlook.com>
As of Java-16 there is a replacement for JNI which allows direct calling of native interfaces
without the need for hand coded stub code.
On Monday, 7 December 2020 22:10:01 GMT Martin Gainty wrote:
> Nota Bene:
> Almost all official interfaces to/from Oracle are coded in Java
> FWIK google's implementations are 95% python
> (although you would need to understand JSON formatting for import/export
> requirements) for those reasons i tread lightly before disparaging either
> language
>
> Going Forward:
> try to implement PL/SQL that rob/joshua mentioned
> if you're calling no-joy after implementing PL/SQL
> then we can take a look at interfacing to Postgres ETL binaries with a JNI
> interface provided the JNI is spot on with signatures for each referenced
> function
>
> Un Saludo
> m
>
> ________________________________
> From: Rob Sargent <robjsargent@gmail.com>
> Sent: Monday, December 7, 2020 11:16 AM
> To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
> Subject: Re: PL/java
>
> On 12/7/20 8:25 AM, Adrian Klaver wrote:
> > On 12/7/20 7:18 AM, Hemil Ruparel wrote:
> >> I want to say this. I never liked any extension language. It's like
> >> Java is not meant to interact with databases.
> >
> > The JDBC folks might disagree.
>
> That interaction is strictly sql to db, data to app. As it should be.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: david.goodenough@btconnect.com
Subject: Re: PL/java
In-Reply-To: <4280243.LvFx2qVVIh@continuum>
References: <77C7E1EE-F226-4C07-883A-A6F962D33AA3@carrotincentives.com> <56364cd5-50ba-ac08-f857-2d66ae0b7133@gmail.com> <BLAPR19MB4227746DC4A48B47D2CB09DDAECE0@BLAPR19MB4227.namprd19.prod.outlook.com> <4280243.LvFx2qVVIh@continuum>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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