Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JQL is the "new EJBQL" Although JPA really has less to do with EJBs anymore. But if you are using EJB 2.x you use EJBQL, if you are using EJB3, then you want JPA-QL, if you are using Hibernate as your implementation of JPA, and you want some more options, more features and use Hibernate's stuff, then you use HQL.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic