Home

 

JPA query language (JPQL)

Java Persistence API specifies a query language that allows to define queries over entities and their persistent state. The Java persistence query language (JPQL) gives a way to specify the semantics of queries in a portable way, independent of the particular database used in the enterprise environment.

JPQL is an extension of the Enterprise JavaBeans query language (EJB QL) and is designed to combine the syntax and simple query semantics of SQL with the expressiveness of an object-oriented expression language.

Further information about JPQL can be found in the Java EE 5 Tutorial:

http://java.sun.com/javaee/5/docs/tutorial/doc/bnbtg.html
ibm.com/redbooks