-->
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: I cannot fetch the updated records from mysql database
PostPosted: Mon Dec 13, 2010 10:09 am 
Newbie

Joined: Mon Dec 13, 2010 9:49 am
Posts: 2
Hi All,

I am new to Hibernate. I am facing one problem please help me in this

I am using Hibernate with Struts and for deployment I am using Tomcat and for DB mysql.
I had written on JSP when user clicks button on that JSP in the next page he has to see table
data. I am able to see the data also in the next page.
My doubt is :
I am staring the Tomcat server and try to insert data manually from backend now when I try
to click the button the JSP page is not displaying the recently added entry.
JSP is displaying the old entry.

Please tell me how can I get the updated values every time??????


Top
 Profile  
 
 Post subject: Re: I cannot fetch the updated records from mysql database
PostPosted: Mon Dec 13, 2010 10:22 am 
Beginner
Beginner

Joined: Fri Nov 14, 2008 7:34 pm
Posts: 24
jsp cached ?


Top
 Profile  
 
 Post subject: Re: I cannot fetch the updated records from mysql database
PostPosted: Mon Dec 13, 2010 10:42 am 
Newbie

Joined: Mon Dec 13, 2010 9:49 am
Posts: 2
I cleared the cookie and histroy tried but its not working.

Seems once the server started its getting all table values and storing in some cache and
displaying the old values.

I need to fetch the newly updated values every time.


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.