JPQL « Glassfish « JPA Q&A

1. JPQL reference?

3. Can't use JPQL for quering Entities with JPA

I am new to JPA and tried to set up a small application which uses JPA. I have created the JDBC Resources in the Glassfish admin-page (using the DerbyPool) and also the persistence.xml accordingly. I created the first instances and persisted it without problems. But now that I try to query the instances I get errors. I tried the following query: ...