Re: [HACKERS] PL/Java issues - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: [HACKERS] PL/Java issues
Date
Msg-id 200312312347.hBVNloD00529@candle.pha.pa.us
Whole thread Raw
List pgsql-jdbc
Jan Wieck wrote:
> As an example, if a PL/Java trigger on the order header executes an SPI
> query on the order lines, a trigger on the order line (also in PL/Java)
> might now want to call a method on it's parent object (the order header
> that is waiting for the SPI result set). This should NOT result in
> another OH instance being created for the same logical OH.
>
> Probably it is not possible to map these things automatically while
> keeping the system flexible enough to be usefull. But is it feasable to
> require the programmer to provide glue code for every procedure that
> does all these things? How does Oracle attack this problem?

How do our other procedural languages handle this problem?  Are none of
the OO or interface via OO?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Drop support for jdk 1.1, 1.2 ?
Next
From: Barry Lind
Date:
Subject: Re: [HACKERS] PL/Java issues