[jboss-user] [JBoss Seam] - Re: Audit Interceptor with State

apushadow do-not-reply at jboss.com
Thu Aug 16 10:55:17 EDT 2007


Heya Pete--

I'm trying to use your solution (from here http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamAuditHome)...

I copied the orm.xml into my project and annotated a bunch of stuff in my User object as @Auditable.  When I start up my app server (OC4J), the auditlog and auditlogdetail tables are created, but when I update my user objects (with entityManager.merge()...is that a problem?), nothing is inserted into the audit tables.

Is there something else I need to add to my application to make this work?  It's probably something to do with what you wrote on the wiki: "As long as you control your entities through an AuditHome? (a drop in replacement for EntityHome?) logs will be created."...I don't know how to do this, though.

Any direction would be appreciated,

--Rich

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074876#4074876

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074876



More information about the jboss-user mailing list