Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EJB/JPA: Is it called JPQL or EJBQL?

Is the JPA query language called JPQL or EJBQL? I keep reading about them here and there, JPQL seems to appear slightly more often, but frameworks like JBoss Seam use EJBQL everywhere, so which one is the one?

like image 537
Kawu Avatar asked Dec 03 '10 00:12

Kawu


1 Answers

EJBQL is the obsolete query language that was included with the EJB 2.1 spec.

JPQL is the new query language that is used with JPA and supercedes EJBQL. JPQL supports all the old EJBQL language, including many deprecated parts.

like image 188
Jim Tough Avatar answered Oct 24 '22 11:10

Jim Tough