jQuery in Action, 3rd edition
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 17276

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

But that will allow you to run HQL queries.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link: http://aspose.com/file-tools
subject: Tool for HQL Annotated Java classes
It's not a secret anymore!