But often queries involve more than one entity, which requires you to join two or more entities.
但是查询通常涉及到多个实体,这就要求您将多个实体连接起来。
Although the examples in Listing 6 and Listing 7 use expressions as the building blocks, the queries are based on a single entity and its attributes.
尽管清单6和清单7中的例子将表达式用作构建块,查询都是基于一个实体及其属性之上的。
All of the named queries have been added as NamedQuery annotations on the entity.
所有已命名的查询在实体上被添加了Named Query注释。
Older versions of WebLogic Server used the proprietary WebLogic Query Language (WL-QL) to specify finder queries for CMP entity beans.
老版本的WebLogicServer使用专有的 WebLogicQueryLanguage(WL-QL)来为CMP实体bean指定finder查询。
Upgrading EJB entity beans to EJB 2.x will require that existing finder queries be manually converted into EJB-QL; the changed code may require some manual cleanup.
把EJB实体bean升级到EJB 2.0需要将现有的finder查询手工转换成ejb - QL。被修改过的代码可能也需要一些手工清理。
Depending upon the load placed on the server and the relative size of the entity bean that has been requested, queries on entity beans can have sub-par response times.
根据服务器上的负载和所请求实体bean的相对大小,实体bean的查询可能有不达标的响应时间。
If we use lazy loading feature on employee entity for dependent and department entities then in use case 2 and 3, more SQL queries are fired to fetch the required data.
如果对实体employee所关联的dependent和department这两个实体使用延迟加载,那么在操作2和3中就会生成更多的SQL查询语句。
The JPA query language contains much functionality for more complex queries. Queries can be passed in dynamically to the entity manager.
JPA查询语言包含许多用于更复杂查询的功能。
But you can still use Entity SQL to express queries.
但是,您仍可以使用实体s QL来表示查询。
Running object queries against an entity mapped to two tables is identical to querying other entities.
针对映射到两个表的实体运行对象查询与查询其他实体完全相同。
Running object queries against an entity mapped to two tables is identical to querying other entities.
针对映射到两个表的实体运行对象查询与查询其他实体完全相同。
应用推荐