[Pljava-dev] Explicit transaction control

From: Muhammad(dot)Altaf at au(dot)fujitsu(dot)com (Altaf, Muhammad)
To:
Subject: [Pljava-dev] Explicit transaction control
Date: 2013-11-29 00:21:57
Message-ID: 15631647725E1342BFD5662917E1063AB45FC5@sydexchtmp4.au.fjanz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi,

Currently connection.commit/rollback in pljava throw
FeatureNotSupportedException because the function call is already in a
transaction so the explicit transaction control is not allowed. I was
comparing this with pl/python and found that the later actually allows
this by creating sub-transactions, which means technically it should be
possible to handle this in pljava but there should be other reasons not
to implement it.

I am willing to implement this feature if there is no philosophical
reason that discourages use of explicit transaction controls in pljava,
or some backend limitation that does not permit these controls without
putting some *hacks*.

Thoughts?

Muhammad Altaf

Fujitsu Australia Software Technology

www.fastware.com.au

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20131129/996e6e9f/attachment.html>

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Hal Hildebrand 2013-11-29 01:18:34 [Pljava-dev] Explicit transaction control
Previous Message John R Pierce 2013-11-20 22:15:52 [Pljava-dev] pljava for Postresql 9.3 and Java 7 on 64 bit Windows 7