This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between hql and sql

 
Ranga Reddy shreya
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
difference between hql and sql.
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They look similar syntax-wise (both have select clauses, from clauses, where clauses, etc.)

But they are really quite different. SQL is table-oriented, but HQL is object-oriented.

See the Hibernate reference manual for more details.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic