This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Tool for HQL Annotated Java classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Tool for HQL Annotated Java classes" Watch "Tool for HQL Annotated Java classes" New topic

Tool for HQL Annotated Java classes

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
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.

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

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

Joined: Feb 05, 2001
Posts: 17271

The JBoss IDE, or really Eclipse with JBoss/Hibernate plugins.

But that will allow you to run HQL queries.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Have you checked out Aspose?
subject: Tool for HQL Annotated Java classes
jQuery in Action, 3rd edition