-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: detecting the transaction from within the interceptor
PostPosted: Thu Jul 14, 2005 1:16 pm 
Newbie

Joined: Sun Oct 31, 2004 3:22 pm
Posts: 6
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:2.1

I want to be able to identify all changes made to the database that occur within a transaction. I can get all of the information that I need from the Interceptor with the exception of an identifier for the transaction.

We are cascading = "all" in most persistent objects and have used the interceptor to implement auditing. I need to be able to identify all of the chnages that were made when the user hit the "save" button. As I mentioned before, I can get all of this from the interceptor except for the identifier for the transaction (which would let me group the atomic information).

Any suggestions?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.