-->
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.  [ 2 posts ] 
Author Message
 Post subject: Automatic Dirty checkin
PostPosted: Wed Mar 26, 2008 3:44 am 
Newbie

Joined: Sun Jan 13, 2008 10:25 am
Posts: 7
Hibernate version: 1.2

Hey Community,

I try to disable the "automatic dirty checkin" how can I do this?

I search via web and forum search but I didnĀ“t find anything.

Thanks for help.

greetz
Maurice


Top
 Profile  
 
 Post subject: Automatic Dirty checkin
PostPosted: Wed Mar 26, 2008 5:24 am 
Senior
Senior

Joined: Thu Jun 21, 2007 8:03 am
Posts: 127
Location: UK
Hi Maurice,

I'm not sure if this is what you're after, but you can set the FlushMode to Never on the ISession object:
Code:
session.FlushMode = FlushMode.Never;


I don't think it's recommended to do this. If you could explain more about your problem there might be a better solution.

Regards,
Richard


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

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.