Now I'll show you how to develop some queries with the Criteria API.
现在,我将展示如何使用Criteria API开发一些查询。
This article introduces the Criteria API and the closely associated metamodel concept.
本文将介绍Criteria API和与之密切相关的元模型(metamodel)概念。
The Criteria API also includes mechanisms for building queries dynamically at run time.
Criteria API还提供一个能够在运行时动态地构建查询的机制。
The Criteria API enables a programmatic construction of queries using an object-based query graph.
Criteria API支持使用基于对象的查询图以编程方式构建查询。
In this code sample (see the Appendix for the data creation and deletion methods required to use the Criteria API).
在这个代码样例中有(使用Criteria API所必需的数据创建和删除的方法,见附录)。
The Criteria API is also a mechanism for building queries programmatically and so is often referred to as a dynamic query API.
Criteria API还是以编程的方式构建查询的机制,因此通常被称为动态查询 API。
The Criteria API is utilized to define a query to select all entries where the Address's state attribute is either "NY" or "ri."
Criteria API用来定义一个查询来选择address的状态属性为“NY”或“ri”的所有实体。
The Criteria API assists in avoiding run time parsing exceptions and in writing complex dynamic queries without an in-depth knowledge of SQL.
Criteria API有助于避免运行时解析异常,无需熟悉SQL,即可编写复杂的动态查询。
Other major new features, like the Criteria API and the integration with the Bean Validation framework, just add to JPA's Arsenal of persistence capabilities.
其他主要新特性,比如Criteria APIs以及与BeanValidation框架的整合,只是对JPA的持久性功能锦上添花而已。
So far, I have mainly emphasized the strongly typed nature of the Criteria API and the fact that it helps to minimize syntactic errors that can creep into string-based JPQL queries.
到目前为止,我主要强调了Criteria API的强类型,以及它如何帮助减少出现在基于字符串JPQL查询中的语义错误。
Query expressions are the core units or nodes that are assembled in a tree to specify a CriteriaQuery. Figure 1 shows the hierarchy of query expressions defined in the Criteria API.
查询表达式是在一个树中组装的核心单元或节点,用于指定CriteriaQuery。
If your Hibernate application USES JPA V2.0 Criteria API or your application USES inline queries, you can use incremental capture to get the SQL from these queries and convert to static SQL.
如果您的Hibernate应用程序使用Criteria查询,那么可以使用增量捕捉模式获取Criteria查询的sql语句,并将其转化为静态SQL。
The persistence module includes JPA version 2.0 (JSR 317) which has several enhancements to JPQL and offers a new Criteria API which can be used for dynamically constructing object-based queries.
持久化模块包括JPA 2.0 (JSR 317),JPA 2.0对JPQL有几点增强,还提供了新的Criteria API,可动态创建基于对象的查询。
This provides a powerful API for retrieving events based on particular criteria.
提供了基于特定标准的强大功能的API来接收事件。
This is essentially a compound API, because the filter criteria, known as a subscriptionFilter, is essentially a compound request.
这本质上是个复合API,因为过滤标准(通常称为subscriptionFilter )从本质上说是一个复合请求。
One of the clear USES of this API is to compare the differences between implementations, measuring performance, compatibility to Perl5 syntax, or other criteria.
该API较显著的用法之一是用来比较实现、测量性能、对perl5语法的兼容性或其它标准之间的差异。
This API allows developers to read and search the Google books database for books matching user-specified criteria, and use the results of these searches in other Web applications.
该API允许开发人员阅读和搜索GoogleBooks数据库,寻找匹配用户指定标准的图书,并在其他Web应用程序中使用这些搜索结果。
Zend_Gdata automatically URL-encodes the filter criteria when transmitting the query to the data API server.
在向dataAPI服务器传递查询时,Zend_Gdata自动对过滤条件进行URL编码。
Zend_Gdata automatically URL-encodes the filter criteria when transmitting the query to the data API server.
在向dataAPI服务器传递查询时,Zend_Gdata自动对过滤条件进行URL编码。
应用推荐