Reputation: 567
I'm making a java ee project for class, and am having some issues with the database. When I load a page, it loads the information from the database correctly. If i modify that information on that page, and refresh, it works correctly. If i have the page open on one machine, and modify it on another machine, it does not work correctly.
~Thanks in advance.
P.S. It seems to have something to do with EclipseLink Caching the results. Could I turn it off?
Upvotes: 1
Views: 323
Reputation: 715
As of July 2012 the property name to disable the EclipseLink shared cache has changed to
<property name="eclipselink.cache.type.default" value="None"/>
This should make Eclipse pick up database schema changes immediately.
Upvotes: 2
Reputation: 900
I was already thinking that it's about JPA so yes you can turn if off. Paste this code into your persistence.xml
<property name="eclipselink.cache.shared.default" value="false"/>
Upvotes: 1