-->
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.  [ 3 posts ] 
Author Message
 Post subject: Usage of Dialect method doesReadCommittedCauseWritersToBlock
PostPosted: Tue Apr 03, 2012 2:43 pm 
Newbie

Joined: Tue Apr 03, 2012 2:20 pm
Posts: 2
Hi ,

I am investigating methods in dialect and found the following methods in Dialect base class.

public boolean doesReadCommittedCauseWritersToBlockReaders()
public boolean doesRepeatableReadCauseReadersToBlockWriters()

By default these methods return false.
Retaining the default implementation dosent seem to be the behaviour for most of the databases.But I notice not all dialects have changed the default implementation.

I would like to know what is the puropse of providing these methods in Dialect or under what scenario this will be used by Hibernate.

Has anyone used these methods ?


Last edited by mkr on Thu Apr 05, 2012 1:16 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Usage of Dialect method doesReadCommittedCauseWritersToBlock
PostPosted: Wed Apr 04, 2012 2:48 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Quote:
I would like to know what is the puropse of providing these methods in Dialect or under what scenario this will be used by Hibernate.


I checked the sources of Hibernate-Core versions 3.6.2 and 4.1.1 and did not found any code
using/calling one of these methods, so it seems that these have just informative purpose so far.


Top
 Profile  
 
 Post subject: Re: Usage of Dialect method doesReadCommittedCauseWritersToBlock
PostPosted: Tue Apr 17, 2012 4:25 am 
Newbie

Joined: Tue Apr 03, 2012 2:20 pm
Posts: 2
Thanks for the info !


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.