Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg: Getting data after save using Spring+Hibernate

 
Vishwanath GNV
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic