File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JPQL, EJBQL and HQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JPQL, EJBQL and HQL" Watch "JPQL, EJBQL and HQL" New topic


Cristian Aionesa

Joined: Jan 05, 2007
Posts: 20
Hi guys!

I am a little confused about these QL. I'm about to start an application and I don't know wich one to use. Can someone point some differences about them, articles anything..?Is JPQL the same as EJBQL?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33098

JPQL is for EJB 3.0 (J2EE 5). EJBQL is for EJB 2.1 (J2EE 1.4 and below.) So which one you choose depends on what version of J2EE/EJB you are using.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: JPQL, EJBQL and HQL
It's not a secret anymore!