Criteria API 支持使用基于对象的查询图以编程方式构建查询。
The Criteria API enables a programmatic construction of queries using an object-based query graph.
她的查询将返回图8所示的内容。
点击Next,这样您可以在DepartmentManager bean中看到所有可用的查询方法(图23)。
Click Next so that you can see all of the available query methods in the DepartmentManager bean (Figure 23).
应用推荐