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

EntityManager Query Language  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

As for Hibernate we will use the HQL .

Means for example :



And for JPA is there any thing special DataBase Query Language

Query query = EntityManager.createQuery("//Here ");


Please let me know is there any specific language in case of JPA ??

 
srees Nivas
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Kiran V wrote:Hi ,

As for Hibernate we will use the HQL .

Means for example :



And for JPA is there any thing special DataBase Query Language

Query query = EntityManager.createQuery("//Here ");


Please let me know is there any specific language in case of JPA ??



Yes. It is JPQL. Java Persistence Query Language.

Best regards,
Sri.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!