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: Which property causing dirty update?
PostPosted: Mon Jun 30, 2008 12:21 pm 
Newbie

Joined: Wed Oct 31, 2007 1:50 pm
Posts: 13
I believe I have a scenerio in which simply doing an NHibernate get for an entity is subsiquently causing the instance to be dirty and updated upon next commit. Is there a debug/log entry that would help me pinpoint which property is causing this?

Basically, I'm getting an instance by its Identifier, inserting completely unrelated entity (I don't do a single thing with 1st entity after get) and yet after the insert I am seeing an update.

[UPDATE] To be clear, the only thing being updated in this phantom update is the version number[/UPDATE]


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.