File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 17262

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
I agree. Here's the link:
subject: Tool for HQL Annotated Java classes