Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Freemagazine Issue8 Hibernate Query Language

Related Tutorials


 
 

Share on Google+Share on Google+

Hibernate Query Language

Advertisement
Hibernate Query Language or HQL for short is extremely powerful query language.

Hibernate Query Language

       

 

  1. 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. Hibernate Query Language is used to execute queries against database. Hibernate automatically generates the sql query and execute it against underlying database if HQL is used in the application. HQL is based on the relational object models and makes the SQL object oriented.
     
  2. Preparing table for HQL Examples
    Create insurance table and populate it with the data. To create the insurance table and insert the sample data, run the following sql query:

Now, read more information at:

http://www.javajazzup.com/issue8/page31.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: June 10, 2009

Related Tutorials

Discuss: Hibernate Query Language   View All Comments

Post your Comment


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