An equivalent JPQL query would be.
等效的JPQL查询为。
A JPQL query is specified as a String (line 2).
JPQL查询被指定为一个String(第2行)。
For example, dynamic JPQL queries are not gathered by wsdb2gen.
例如,wsdb2gen就不收集动态JPQL查询。
Contrast the query in Listing 7 with the equivalent (correct) JPQL.
将清单7中的查询与等效(正确)的JPQL进行比较。
This is similar to constructing an executable query given a JPQL string as input.
这类似于构造一个输入为 JPQL字符串的可执行查询。
The arguments for a query operation are the JPQL string or moniker of a predefined named query.
查询操作的参数是JPQL字符串或预定义名称查询的别名。
JPA 1.0 introduced JPQL, a powerful query language that's considered a major reason for JPA's popularity.
JPA 1.0引进了JPQL,这是一种强大的查询语言,它在很大程度上导致了JPA的流行。
As mentioned earlier, some SQL might not be generated from the static generator (for example, dynamic JPQL).
正如前面提到过的,静态生成器可能不会生成某些SQL(例如,动态JPQL)。
Querying of the supported datastores can be performed using JDOQL, JPQL or SQL (dependent on the datastore).
可以使用JDOQL、JPQL或者SQL(取决于数据)来查询支持的数据存储。
If this option is unchecked, the JPQL query statements will be used directly inside of the JPA Manager Bean code.
如果该选择没被选中,那么JPQL查询语句将在JPAManager Bean代码中直接使用。
Tip: Clicking each query method will display the JPQL query that will be run when you run that method. (Figure 13).
提示:点击每个QueryMethod将会显示出JPQL查询,该查询当您运行该方法时会随之运行(图13)。
JPQL is a full-featured query language with syntax similar to SQL, but it operates on entities rather than database tables.
JPQL是一种语法上类似于SQL的完备查询语言,但是它是在实体上,而不是在数据库表上进行操作。
JPA provides both a standard mapping definition (through annotations or XML) and a standard runtime API and object-level query language (JPQL).
JPA提供了标准映射定义(通过Annotation或XML)和标准运行时api及对象级查询语言(JPQL)。
The type-safety feature will provide for much earlier error detection at compile time, rather than at run time with the standard JPQL constructs.
类型安全功能将提供在编译时的早期错误检测,而不是使用标准JPQL 构建时的运行时检测。
Notice that an equivalent query is simply not possible to express in JPQL, because it has a defined grammar with a fixed number of supported expressions.
注意,在JPQL中不能表达等效的查询,因为它的语法仅支持固定数量的表达式。
The error will be encountered at run time at line 3 or line 4 (depending on whether the JPA provider parses a JPQL string according to JPQL grammar during query construction or execution).
在运行时,该错误将出现在第 3或第 4行(具体行数取决于JPA提供者是否在查询构造或执行期间根据JPQL语法解析 JPQL字符串)。
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有几点增强,还提供了新的CriteriaAPI,可动态创建基于对象的查询。
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有几点增强,还提供了新的CriteriaAPI,可动态创建基于对象的查询。
应用推荐