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.