From: ilazaro at tekniker.es (Nacho) Date: Wed, 2 Nov 2005 11:49:23 +0000 (UTC) Subject: [Pljava-dev] PLJAVA Trigger Function more arguments Message-ID: Hello I have a question, I have defined a java trigger and I want send from PostgreSQL more arguments than the TriggerData object I have the following code CREATE TRIGGER tu_elementos_instalacion_monitorizar_tr AFTER UPDATE ON elementos_instalacion_monitorizar FOR EACH ROW EXECUTE PROCEDURE sendudpmessagetr('valor'); CREATE OR REPLACE FUNCTION sendudpmessagetr() RETURNS "trigger" AS 'tekniker.udpip.SendUdpMessage.sendudpmessagetr' LANGUAGE 'javau' VOLATILE; ALTER FUNCTION sendudpmessagetr() OWNER TO optemi; public static void sendudpmessagetr(TriggerData td) throws SQLException{...} My question is that if is it possible define public static void sendudpmessagetr(TriggerData td, String str1, String str2) throws SQLException{...} Or if it is possible to define inside the TriggerData more arguments because I have see in documentation that is avaliable the getArguments() method, but I don?t know how define these new arguments in the TRIGGER function Thanks in advance for your help Nacho