public inbox for [email protected]  
help / color / mirror / Atom feed
From: Petr Michálek <[email protected]>
Subject: [Pljava-dev] Possible bug in trigger annotations
Date: Sun, 7 Feb 2016 23:34:34 +0100
Message-ID: <CAHs4H_z1YMQXMiT0FfW8OaHWLVds6jyDyG2MYY0aJeB=PzsY3g@mail.gmail.com> (raw)

Hi,

generation of pljava.ddr by java annotations is OK, but on trigger
execution returns an exception:

"org.postgresql.util.PSQLException: ERROR: Triggers can not have a java
parameter declaration."

Workaround is replace "(org.postgresql.pljava.TriggerData)" with "" in file
pljava.ddr
Please confirm the bug or tell me what I'm doing wrong.

And I have little comment to documentation. I didn't found if the javac
generate pljava.ddr or annotation is read by deployer. For example IDE
(Eclipse) does not generate pljava.ddr (do not know why) and I must run
javac.

Petr

_______________________________________________
Pljava-dev mailing list
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

view thread (3+ messages)  latest in thread

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] Possible bug in trigger annotations
  In-Reply-To: <CAHs4H_z1YMQXMiT0FfW8OaHWLVds6jyDyG2MYY0aJeB=PzsY3g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox