-->
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: Invalid (cached) data returned from stored procedure call
PostPosted: Tue Aug 12, 2008 1:10 pm 
Newbie

Joined: Tue Aug 12, 2008 12:59 pm
Posts: 6
Location: Massachusetts
I am running into an issue with a stored procedure call returning what appears to be cached data.

I am connecting to DB2 on an iSeries.

When I call the stored procedure I can put the procedure in debug and validate that the correct information is being retrieved and returned, but when I look at the values in debug on the Java side (running in eclipse 3.4) I am seeing cached data. I am sure the data is cached because I can manually change the data from one call to values that don't exist in the database, call the stored procedure and the values that I see are the values I manually entered.

If I clear the session after each individual transaction I then get the correct data. I would prefer not to clear the session for each transaction for performance reasons.

Any assistance would be appreciated.


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.