Home Freemagazine Issue9 Hibernate Query Language

Related Tutorials


 
 

Share on Google+Share on Google+

Hibernate Query Language

Advertisement
In the previous issue of Javajazzup you learned about Hibernate Query Language and its different kind of clauses.

Hibernate Query Language

       

In the previous issue of Javajazzup you learned about Hibernate Query Language and its different kind of clauses. Lets quickly focus on the overview of HQL.

Introduction to Hibernate Query Language Hibernate Query Language or HQL for short is extremely powerful query language. HQL is much like SQL and are case-insensitive, except for the names of the Java Classes and properties. HQL has its own object-oriented query language and supports native SQL. It automatically generates the sql query and executes it against underlying database.
  1. Criteria
    The interface org.hibernate.Criteria is used to create the criterion for the search. It is a simplified API for retrieving entities by composing Criterion objects. This is a very convenient approach for functionality like ?search? screens where there is a number of conditions or fields to be placed upon the result set.

Read more information at:

http://www.javajazzup.com/issue9/page45.shtml

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 11, 2010

Related Tutorials

Discuss: Hibernate Query Language  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com