MIME-Version: 1.0 Date: Sun, 7 Feb 2016 23:34:34 +0100 Message-ID: From: =?UTF-8?Q?Petr_Mich=C3=A1lek?= Subject: [Pljava-dev] Possible bug in trigger annotations Content-Type: multipart/mixed; boundary="===============3459930984368053266==" --===============3459930984368053266== Content-Type: multipart/alternative; boundary=047d7ba974a04d5fc2052b35b0d6 --047d7ba974a04d5fc2052b35b0d6 Content-Type: text/plain; charset=UTF-8 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 --047d7ba974a04d5fc2052b35b0d6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

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

"org.p= ostgresql.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.<= br>
And I have little comment to documentation. I didn't found if the javac generate pljava.ddr or annotation is read by d= eployer. For example IDE (Eclipse) does not=20 generate pljava.ddr (do not know why) and I must run javac.

Petr
--047d7ba974a04d5fc2052b35b0d6-- --===============3459930984368053266== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pljava-dev mailing list Pljava-dev@lists.pgfoundry.org http://lists.pgfoundry.org/mailman/listinfo/pljava-dev --===============3459930984368053266==--