This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
Have you checked out Aspose?
subject: Hibernate supports equals and not equals
It's not a secret anymore!