Quote:
if i refresh the page again, the query is not fired as the data is fetched from the Hibernate session.
But, some one else has modified the data in between directly in the table.
But these modified data are not reflected in the JSP page as it still fetch values from hibernate session.
How to prevent this?
Is another application interacting with the database and modifying data? Perhaps you can avoid modifying the data except through Hibernate so that any changes to the data are visible to Hibernate.
Quote:
The Set<EducationalDetails> was generated by a tool. Can i modify it to List as i want the insertion order in the JSP?
Hibernate won't care if the EducationDetails is a list or a set, it'll handle either one, so you should have any trouble changing the collection type as far as it's concerned.