此内容没有您所选择的语言版本。
10.5. Querying
10.5.1. About Querying 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
If you do not know the identifiers of the objects you are looking for, you need a query. Hibernate supports an easy-to-use but powerful object oriented query language (HQL). For programmatic query creation, Hibernate supports a sophisticated Criteria and Example query feature (QBC and QBE). You can also express your query in the native SQL of your database, with optional support from Hibernate for result set conversion into objects.