• 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: 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!