Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPQL, EJBQL and HQL  RSS feed

 
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: 17309
11
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
Boost this thread!