开发者

EJB/JPA: Is it called JPQL or EJBQL?

开发者 https://www.devze.com 2023-01-28 11:28 出处:网络
Is the JPA query language called JPQL or EJBQL? 开发者_C百科I keep reading about them here and there, JPQL seems to appear slightly more often, but frameworks like JBoss Seam use EJBQL everywhere, so

Is the JPA query language called JPQL or EJBQL? 开发者_C百科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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号