假设您想基于给定的ZIP号码检索客户ID和姓名的一个标量列表。
Let's say you want to retrieve a tabular list of customer IDs and names for a given ZIP code.
提问可以很简单,例如:"检索雇员号码为1234的记录"也可以是复杂的。
The interrogation may be simple ,for example ,'RETRIEVE THE RECORD FOR EMPLOYEE NUMBER 1234' or complex .
此次查询可以传递给 Entity Manager,以检索所有 Department 实体的列表,该列表通过它们的 department 号码进行排序。
This query can be passed into the Entity Manager to retrieve a list of all Department entities, ordered by their department number.
应用推荐