File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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.

A.B
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

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

Joined: Feb 05, 2001
Posts: 17250
    
    6

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

But that will allow you to run HQL queries.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
jQuery in Action, 2nd edition
 
subject: Tool for HQL Annotated Java classes