-->
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: managing session hibernate
PostPosted: Tue Jul 15, 2008 7:22 am 
Newbie

Joined: Tue Apr 10, 2007 5:53 am
Posts: 6
Good morning,
I go directly to the heart of the problem,
I work on a web application with struts and hibernate, when I log on two page of the same post and is working on the same type of items I have a problem of competition for access to data.
plz if someone can help me find a solution I will be grateful
thank you in advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 15, 2008 9:40 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
How have you configured and set up locking for the database?

If the data is locked, the collisions shouldn't corrupt data, and the duration of a web transaction should be short, so the data shouldn't be locked for very long.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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.