Jakarta Persistence Query Language: Difference between revisions

Content deleted Content added
Add in-line citation.
Line 23:
The '''Jakarta Persistence Query Language''' ('''JPQL'''; formerly Java Persistence Query Language) is a platform-independent [[object-oriented]] [[query language]] defined as part of the [[Jakarta Persistence]] (JPA; formerly Java Persistence API) specification.
 
JPQL is used to make queries against entities stored in a relational database. It is heavily inspired by [[SQL]], and its queries resemble SQL queries in syntax{{sfn|Bauer|2016}}{{rp|§1.3|p=17}}, but operate against JPA entity objects rather than directly with database tables.
 
In addition to retrieving objects (<code>SELECT</code> queries), JPQL supports set based <code>UPDATE</code> and <code>DELETE</code> queries.
Line 105:
Hibernate and the HQL were created before the JPA specification.
As of Hibernate 3 JPQL is a subset of HQL.
 
==Citations==
{{Reflist}}
 
==References==
*{{citation
| first1 = Gavin
| last1 = King
| first2 = Bauer
| last2 = Christian
| year = 2016
| title = Java Persistence with Hibernate
| edition = Second
| publisher = [[Manning Publications]]
| pages = 880
| isbn = 978-1617290459
}}
 
==See also==