-->
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: Problem in implimentation of Pessimistic Lock
PostPosted: Mon Aug 27, 2007 11:27 am 
Newbie

Joined: Thu Mar 29, 2007 12:54 am
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hi i am Using following setup

Spring version 2.0.5 jar
[b]Hibernate version:3.2
Hibernate-annotations- version 3.3.0.ga.jar
Hibernate-entityManager version 3.3.1ga.jar

when i am trying to to lock a row using the annotation
@Transactional(isolation = Isolation.SERIALIZABLE) in Manager giving me the error
"Standard JPA does not support custom isolation levels - use a special JpaDialect "

I am not getting how to implement Pessimistic Lock by using these setup...

Urgent

Thanks in Advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 3:55 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Solutions to Spring specific features issues are to be answered on their forum

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 11:25 pm 
Newbie

Joined: Mon Aug 27, 2007 11:32 pm
Posts: 1
Location: Bangalore
Hi ,
But as far as my knowledge it is better to implement Pessimistic lock in Dao layer.................... can u suggest how we can implement Pessimistic Lock in this layer


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.