Jakarta Persistence Query Language: Difference between revisions

Content deleted Content added
Add in-line citation.
m Disambiguating links to Object-orientation (link changed to Object-oriented programming) using DisamAssist.
 
(7 intermediate revisions by 3 users not shown)
Line 1:
{{norefinline|date=June 2010}}
{{Infobox programming language
| name = Jakarta Persistence Query Language
Line 11:
| latest_test_version =
| latest_test_date =
| turing-complete = No
| typing =
| implementations =
Line 21 ⟶ 20:
| website =
}}
The '''Jakarta Persistence Query Language''' ('''JPQL'''; formerly Java Persistence Query Language) is a platform-independent [[Object-oriented programming|object-oriented]] [[query language]]{{sfn|Bauer|King|Gregory|2016}}{{rp|loc=§12|p=284}} 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|King|Gregory|2016}}{{rp|loc=§1.3|p=17}}, but operate against JPA entity objects rather than directly with database tables.{{sfn|Bauer|King|Gregory|2016}}{{rp|loc=§2.2.3|p=26}}
 
In addition to retrieving objects (<code>SELECT</code> queries), JPQL supports set based <code>UPDATE</code> and <code>DELETE</code> queries.
Line 111 ⟶ 110:
==References==
*{{citation
|last1 first1 = GavinBauer
| last1first1 = KingChristian
|last2 first2 = BauerKing
| last2first2 = ChristianGavin
| yearlast3 = 2016Gregory
|first3 = Gary
| title = Java Persistence with Hibernate
| editionyear = Second2016
| title = Java Persistence with Hibernate
| publisher = [[Manning Publications]]
| pages edition = 880Second
| publisher = [[Manning Publications]]
| isbn = 978-1617290459
| url =
}}