Meaningless Drivel is fun!*
The moose likes Other Application Frameworks and the fly likes Reg: Getting data after save using Spring+Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Reg: Getting data after save using Spring+Hibernate" Watch "Reg: Getting data after save using Spring+Hibernate" New topic
Author

Reg: Getting data after save using Spring+Hibernate

Vishwanath GNV
Greenhorn

Joined: Sep 05, 2006
Posts: 6
Hi All,

I am new to Spring and Hibernate, I am facing the issue in retrieving data after saving.

Scenario:
-> I have a Listing Page where I show list of rows. And also a facility to add records when user click on Add button.
-> When user clicks on Add button, user navigates to Add Form page where user feeds data and clicks on Save button.
-> When save operation is done succesfuly, user will be navigated to Listing Page.

But, in the Listing Page, the recently added record is not showed, when i digged into the issue, I found that object is null.
I am calling Listing action as soon as Save action is done.

But when I navigate front and back, at that time listing data is dispalyed correctly.

Please tell me the solution for this issue.

Thanks & Regards
Vishwanath GNV
 
Consider Paul's rocket mass heater.
 
subject: Reg: Getting data after save using Spring+Hibernate