Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 31-07-2009
Member
 
Join Date: Apr 2008
Posts: 32
Need HQL Tutorial

Hello,

Dose anyone know about a good HQL tutorial available online?

Thanks in advance.
chickens
Reply With Quote
  #2  
Old 31-07-2009
Member
 
Join Date: Apr 2008
Posts: 21
Re: Need HQL Tutorial

Here are some good tutorials.

http://code.google.com/p/hypertable/wiki/HQLTutorial
http://docs.jboss.org/hibernate/stab.../queryhql.html

Hope this helps.
Reply With Quote
  #3  
Old 31-07-2009
Member
 
Join Date: May 2008
Posts: 32
Re: Need HQL Tutorial

HQL
HQL stands for Hibernate Query Language, and is the data query language that comes with Hibernate. Hibernate is a Java-based library for accessing relational data. You can download Hibernate at www.hibernate.org

HQL is very similar to SQL, but has two powerful benefits:

A Simple Example: SQL vs HQL

A normal SQL query looks something like this:

Code:
SELECT name
FROM customer
WHERE state = "CA"
In HQL, this same query looks something like this:

Code:
SELECT cust.name
 FROM customer cust
 WHERE cust.state = "CA"
Reply With Quote
  #4  
Old 31-07-2009
Member
 
Join Date: May 2008
Posts: 44
Re: Need HQL Tutorial

Complete Hibernate 3.0 Tutorial

Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework. The Hibernate Query Language, designed as a "minimal" object-oriented extension to SQL, provides an elegant bridge between the object and relational worlds. Hibernate also allows you to express queries using native SQL or Java-based Criteria and Example queries. Hibernate is now the most popular object/relational mapping solution for Java.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Need HQL Tutorial"
Thread Thread Starter Forum Replies Last Post
Tutorial for jDownloader Gunilla Technology & Internet 5 26-02-2011 09:04 AM
iTunes 9 Tutorial Maq.H Tips & Tweaks 2 19-01-2010 05:36 AM
Tutorial on how to use Paypal Adolfa Technology & Internet 3 14-12-2009 09:45 PM
Sybase tutorial djbbenn Software Development 2 01-08-2009 07:43 PM
Tutorial #2 ferrari Guides & Tutorials 9 02-02-2008 12:26 PM


All times are GMT +5.5. The time now is 07:27 PM.