Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 358879FB27C for ; Fri, 27 Jul 2007 23:00:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 80120-03 for ; Fri, 27 Jul 2007 23:00:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp2.cc.ksu.edu (smtp2.cc.ksu.edu [129.130.7.16]) by postgresql.org (Postfix) with ESMTP id 420FD9FB26C for ; Fri, 27 Jul 2007 23:00:22 -0300 (ADT) Received: from imp4.cc.ksu.edu (imp4.cc.ksu.edu [129.130.12.183]) by smtp2.cc.ksu.edu (8.13.8/8.13.8) with ESMTP id l6S20KdE003380 for ; Fri, 27 Jul 2007 21:00:20 -0500 (CDT) Received: (from apache@localhost) by imp4.cc.ksu.edu (8.12.11.20060308/8.12.11/Submit) id l6S20KGm024276 for pgsql-jdbc@postgresql.org; Fri, 27 Jul 2007 21:00:20 -0500 X-Authentication-Warning: imp4.cc.ksu.edu: apache set sender to vbhatia@ksu.edu using -f Received: from ip70-179-167-45.fv.ks.cox.net (ip70-179-167-45.fv.ks.cox.net [70.179.167.45]) by webmail.ksu.edu (IMP) with HTTP for ; Fri, 27 Jul 2007 21:00:20 -0500 Message-ID: <1185588020.46aaa3345f626@webmail.ksu.edu> Date: Fri, 27 Jul 2007 21:00:20 -0500 From: vbhatia@ksu.edu To: pgsql-jdbc@postgresql.org Subject: problem urgent - please help MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Virus-Scanned: ClamAV 0.90.1/3793/Fri Jul 27 19:19:58 2007 on virusfilter2.cc.ksu.edu X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200707/131 X-Sequence-Number: 17305 Hi, I have just registered to the postgresql jdbc lidt and wanted to post a problem of mine which is very urgent to solve, so please help me out. I have written a Java application that reads the data from a postgresql database and retrieves a particular field, performs some actions on that field and finally store the calculated data in some other table.The postgresql database, however is changing continuously , since new data is being added every minute. My problem is that I want to write some trigger in my java application that would be invoked as soon as there is a change in the database and perform the above actions for that newly added row. Is this even possible using a Java application, if yes please guide me how to do this, if no , what can be another way to read the data dynamically from a database through a Java application. Please help me as I am in midst of a project and have been digging into this for quite long without any productive results. Regards, Vishal Bhatia