Hibernate (framework): Difference between revisions

Content deleted Content added
No edit summary
Hibernate Query Language (HQL): Remove redundant link to same page
Line 40:
 
==Hibernate Query Language (HQL)==
Hibernate provides a [[SQL]] inspired language called [[Hibernate Query Language]] (HQL) for writing SQL-like queries against Hibernate's data objects. ''Criteria Queries'' are provided as an [[Object-oriented programming|object-oriented]] alternative to HQL. Criteria Query is used to modify the objects and provide the restriction for the objects.
HQL (Hibernate Query Language) is the object-oriented version of SQL. It generates database independent queries so that there is no need to write database-specific queries. Without this capability, changing the database would require individual SQL queries to be changed as well, leading to maintenance issues.