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: Delay in session data visibility?
PostPosted: Wed Aug 29, 2012 7:35 am 
Newbie

Joined: Wed Aug 29, 2012 7:19 am
Posts: 1
Hi everyone,

i´m dealing with hibernate 3.6.7.Final and WebServices since two months. I´ve written some code where several actions have to be done during one opened session/transaction (the commit is at the end of all actions).

At first a function F_One is called which stores data to table TA without a commit.
Secondly another function F_Two is called which wants to read some of the data which was stored in function F_One and uses a view for that. The data can´t be found.
The function F_Two is called again and wants to read some of the data which was stored in function F_One and uses the view again. Now the data is found.

Does someone have a clue what´s the problem?
Is it possible that hibernate needs some time to 'publish' the data inside the transaction?

Leon


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.