Hello
We are using Hibernate 3.1 with Spring MVC 2.0. Our problem occurs when data is updated on the database directly (not in the application). We use a Filter to filter a collection of results by whether the orders are opened or closed. If we change an order on the DB to be closed, the filter returns the correct list, however, the object's status does not change.
- We do not have second-level or query caching enabled.
- The retrieval of the collection from the DB is via Hibernate's Session.createQuery.
- Also, we have one SessionFactory wired, and using one Session throughout the application.
The only time the object displays the correct status result is when the server is restarted--which we'd prefer not to have to do on a regular basis. Please offer any insight, and if any other information is required, please ask.
Thanks!