*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 17249
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tool for HQL Annotated Java classes
 
Similar Threads
Is it possible to use the wscompile tool from the Command Prompt
Is there some kind of tool to convert xml to persistence ejb entity been?
tools to generate annotated pojo from a database ?
Help with HQL Insert and Joins using Hibernate 3 / JPA
Convert Hibernate hbm.xml file (or existing database) to JPA annotated classes