Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

JPQL, EJBQL and HQL

Cristian Aionesa
Greenhorn

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
Marshal

Joined: May 26, 2003
Posts: 32628
    
215

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: http://aspose.com/file-tools
 
subject: JPQL, EJBQL and HQL
 
jQuery in Action, 3rd edition