I'm trying to disable the JPA cache (EclipseLink 2.5.2) through "persistence.xml", but it is not working.
Changes made to tables, externally to the application, are not displayed in the PrimeFaces 5.0 DataTable with JSF 2.2.
Environment: Netbeans 8.0.2 + GlassFish 4.1 (with Connection Pool)
What might be missing?
persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
<persistence-unit name="br.com.empresa_Teste_war_1.0-SNAPSHOTPU" transaction-type="JTA">
<jta-data-source>jdbc/teste</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.cache.shared.default" value="false"/>
<property name="eclipselink.query-results-cache" value="false"/>
<property name="eclipselink.refresh" value="true"/>
</properties>
</persistence-unit>
</persistence>