-->
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: Interceptor not updating
PostPosted: Mon Mar 10, 2008 4:47 am 
Newbie

Joined: Mon Sep 03, 2007 9:10 am
Posts: 7
Hi all,

I've an Hibernate Interceptor in order to implement an audit system. I've two columns for insert info on each table, and other two for update info, that I've mapped with inheritance.

I put the inserts/updates into both sets in onSave, onFlushDirty methods, and modifty each entity in preFlush / postFlush methods.

When inserting all it's ok, but when I update, some entities don't get updated.

I'm using Hibernate 3.1.2 with Spring 2.0 on Apache Tomcat 5.5.23.

Any ideas about what can be wrong?


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.