File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes help needed in jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "help needed in jdbc" Watch "help needed in jdbc" New topic

help needed in jdbc

anwesh maity

Joined: Oct 31, 2007
Posts: 20
i am doing a update query.when i am clicking the update button its updating in the database but when i am again calling the values in the next page its showing me the old values.what can be the problem???

please do help

[edited subject to remove the word Urgent]
[ April 17, 2008: Message edited by: Jeanne Boyarsky ]
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Did you want to take a deep breath and provide some details?
Veeresh Hosur
Ranch Hand

Joined: Dec 18, 2007
Posts: 32
can you elaborate your problem

Manuel Leiria
Ranch Hand

Joined: Jul 13, 2007
Posts: 171
When you do the calling in the next page, are you querying (select) the database to reflect the new data? My guess is you're using some session variable to store the old data and when you move to the next page you're using the same old data.

Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
I agree. Here's the link:
subject: help needed in jdbc
It's not a secret anymore!