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 Hibernate supports equals and not equals 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 "Hibernate supports equals and not equals " Watch "Hibernate supports equals and not equals " New topic
Author

Hibernate supports equals and not equals

Charan kumar sarvepalli
Ranch Hand

Joined: Dec 14, 2008
Posts: 40
hi,

i want to all key words supported by HQL and for a quick reference i need to know whether it supports equals and not equals in where clause of HQL.

-- Charan
stanislav bashkirtsev
Ranch Hand

Joined: Aug 17, 2009
Posts: 75
equals: =
not equals: <>
use google.com
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Howdy Greenhorn!

I think you'll appreciate this set of documents from JBoss/Hibernate:

Understanding HQL: Hibernate Query Language

The documents go into great detail. I have a simple little tutorial on HQL and doing queries with Hibernate that is a little easier to follow if you're new to it:

Getting Started with HQL: A Tutorial

-Cameron McKenzie
 
Consider Paul's rocket mass heater.
 
subject: Hibernate supports equals and not equals
 
Similar Threads
Case .. when statements in HQL
How to Insert values through HQL Insert :-(
EJB-Ql vs HQL
Hibernate (decode && null)
Does HQL support UNION (or INTERSECT)?