• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between hql and sql  RSS feed

 
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
Boost this thread!