aspose file tools
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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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: 32089

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]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: JPQL, EJBQL and HQL