Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPQL, EJBQL and HQL

 
Cristian Aionesa
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic