Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool for HQL Annotated Java classes

 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranchers, if anyone know any good tool to execute the HQL queries, but I have only java classes annotated. And I dont want to generate HBMs from it.

A.B
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by running the HQL queries? Are you talking about just testing them free of an environment, or doing validation?

To run a query, all you need is the Hibernate framework and the Query object:



Free Tutorial on Using HQL, Named Queries and Native Queries with Hibernate and JPA

Was there something else you were interested in using to execute your HQL?

-Cameron McKenzie
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JBoss IDE, or really Eclipse with JBoss/Hibernate plugins.

But that will allow you to run HQL queries.

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