Re: EntityManager EclipseLink problem?
Mark Wade <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/08/2016 01:35 PM, Wade Chandler wrote: > It sounds like Caching > https://wiki.eclipse.org/EclipseLink/Examples/JPA/Caching > On 12/08/2016 01:36 PM, Charles Bedon wrote: > Could it be somehow related to the caching strategy you're using? Try > disabling cache: > > http://wiki.eclipse.org/EclipseLink/FAQ/How_to_disable_the_shared_cache%3F Wade, Charles, Thank you both, I'm sure that must be it, and thanks for the links. I'm fairly new to working with the NetBeans Platform and JPA and wasn't aware of the caching, used to manage that stuff myself. I'll look into that. Funny though, one link mentions: "The limitation of the shared cache, is that if the database is changed directly through JDBC, or by another application or server, the objects in the shared cache will be stale." Those things aren't happening but I imagine there are other reasons and it's entirely likely I'm doing something silly. The more I look into how things are done the less I think I like some of the ways I went about things. I think I'll probably be reworking a some stuff. Thanks again, -- Mark