I am using Hibernate JPA 2.1 with swing application. My DB is MySQL. The same database could be update from another apring jpa application, which has no connection with my application. My problem is that my swing application always gives me old entity. How to configure it to be aware of the DB external changes.
It would be very helpful me if someone resolve this issue.
Thanks to all for watching and answering.