users@glassfish.java.net

How do I intercept database calls

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Sep 2009 07:32:54 PDT

I want to intercept ADD, DELETE and UPDATE made through the EntityManager so that I can write out audit records to other tables. What is the best way to do this?
[Message sent by forum member 'cedricfranz' (cedricf_at_fundamo.com)]

http://forums.java.net/jive/thread.jspa?messageID=363149