aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate supports equals and not equals " Watch "Hibernate supports equals and not equals " New topic

Hibernate supports equals and not equals

Charan kumar sarvepalli
Ranch Hand

Joined: Dec 14, 2008
Posts: 40

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: <>
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

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
I agree. Here's the link:
subject: Hibernate supports equals and not equals
Similar Threads
Hibernate (decode && null)
Does HQL support UNION (or INTERSECT)?
Case .. when statements in HQL
How to Insert values through HQL Insert :-(