Hi, NetBeans 11.1 beta 4 (I have not installed the final version yet).
I can't use the tool to test the JPQL queries with a right click on persistence.xml > "Run JPQL Query". The JPQL query: "select c from Customer c" with the sample database provided by the installation. I have generated the entities with New > "Entity Classes From Database...". I receive this message: javax.persistence.PersistenceException: No Persistence provider for EntityManager named null at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:85) persistence.xml: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.2" xmlns="http://java.sun.com/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_2.xsd"> <persistence-unit name="samplePU"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <jta-data-source>jdbc/sample</jta-data-source> <properties> <property name="eclipselink.logging.level" value="FINE"/> </properties> </persistence-unit> </persistence> Any help? Richard Grin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists