-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hibernate Queries
PostPosted: Fri Jun 27, 2008 3:24 am 
Newbie

Joined: Wed Jun 25, 2008 5:24 am
Posts: 7
Dear All,

I am new to hibernate, i want to learn hibernate and i started learning it, but am not able to understand the HQL, any best tutorials available for HQL?

Thanks,
vyrav.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 9:57 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
You can actually do alot of stuff with Hibernate before you need to master HQL. In fact, I've written some great applications that use Hibernate and the Hibernate Criteria API, and didn't use HQL at all!

Look, if you want to learn and master Hibernate, start with the basics.

http://jpa.ezhibernate.com/Javacode/lea ... hhibernate

1. Get your environment set up (database, JVM, JDBC driver, libraries)
2. Verify your setup
3. Learn to add a record using Hibernate (no HQL)
4. Learn to delete a record using Hibernate (no HQL)
5. Learn to update a record using Hibernate (no HQL)
6. Learn to load a record using Hibernate (no HQL)
7. Learn how to do column mappings with Hibernate (no HQL)
8. Learn how to do very complex Criteria queries (no HQL)

Then, once you've done all that, jump into HQL. :)

Java Persistence with Hibernate, the 'Bible' for Hibernate developers, is 800 pages long, and doesn't get into HQL until page 614. What does that tell you?

Here's a full set of tutorials to help you out. Go through them and you'll be a Hibernate3 master in no time at all!

http://jpa.ezhibernate.com/Javacode/lea ... hhibernate

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 30, 2008 1:08 am 
Newbie

Joined: Wed Jun 25, 2008 5:24 am
Posts: 7
Thanks alot Cameron McKenzie.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 04, 2008 10:40 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
My pleasure. The tutorials have really been helping people get excited about Hibernate!

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.