• HQL is quite simple to use.

    HQL用起来相当简单

    youdao

  • Listing 7. HQL query in a find method call.

    清单7.find方法调用中的HQL查询

    youdao

  • Listing 14. HQL query in a find method call.

    清单14.find方法调用中的HQL查询

    youdao

  • But our supporting example will use HQL exclusively.

    但是我们使用的示例只用HQL

    youdao

  • But HQL does enable you to pass native queries to your underlying database.

    HQL的确可以让直接底层数据库传递本地查询

    youdao

  • For information on externalizing HQL queries, refer to the Resources section.

    有关外化HQL查询更多信息,参阅参考资料部分。

    youdao

  • If your HQL or Criteria returns a lot of data, you should take care of two things.

    如果HQLCriteria会返回很多数据那么注意件事

    youdao

  • As of now, sharding framework cannot be used with HQL. It can only be used with SQL.

    目前为止分片框架不能用于HQL只能用于SQL

    youdao

  • From the WHERE clause in HQL you can usually guess the corresponding SQL WHERE clause.

    HQLWHERE子句通常可以猜到相应SQL WHERE子句。

    youdao

  • Listing 17 illustrates a way to retrieve the entire database using a two-word HQL query.

    清单17显示了一种使用词的HQL查询检索整个数据库方法

    youdao

  • SQL queries are exposed through the same Query interface, just like ordinary HQL queries.

    普通HQL查询一样SQL查询同样是从Query接口开始的。

    youdao

  • With Hibernate, you can define an HQL query in a Hibernate mapping file (hbm.xml) and give it a name.

    使用Hibernate可以Hibernate映射文件(hbm . xml)中定义HQL查询命名

    youdao

  • Note that this might result in several immediate selects being used to execute a particular HQL query.

    注意可能意味着HQL查询紧跟着一系列的查询。

    youdao

  • If you can't redesign your legacy table, you can use projection provided in HQL or Criteria to retrieve data.

    如果不能重新设计遗留可以使用HQLCriteria提供投影功能获取数据

    youdao

  • To access an Individual from the database, simply specify the class name in your HQL query, as shown in Listing 5.

    要想访问数据库中的Individual只需HQL查询指定即可,如清单5

    youdao

  • Named SQL queries may be defined in the mapping document and called in exactly the same way as a named HQL query.

    可以映射文档中定义SQL查询名字,然后就可以调用一个命名HQL查询一样直接调用命名SQL查询。

    youdao

  • Amongst all the retrieved table columns returned from the HQL query, an extra dynamic column will be returned as well.

    HQL查询返回检索到的所有中,返回一个额外的dynamic

    youdao

  • Of course, not many of us would need (or want, for that matter) to retrieve the entire database with a single HQL query.

    当然我们之中没有多少需要只用一个HQL查询检索整个数据库

    youdao

  • The only exception is when your application has special business rules for data aggregation and ordering that HQL doesn’t support.

    应用程序数据聚合排序HQL支持特定业务规则时除外。

    youdao

  • You can build a HQL WHERE clause using either binding parameters or simple string concatenation; the decision impacts on performance.

    可以使用绑定参数构造HQLWHERE子句,可以使用字符串拼接的方法,决定性能会有一定影响

    youdao

  • The Hibernate Query Language (HQL), designed as a minimal object-oriented extension to SQL, is an elegant bridge between the object and relational worlds.

    Hibernate查询语言HQL被设计成SQL一个微型面向对象扩展,它对象关系世界之间桥梁

    youdao

  • And, since our two mapped classes (Building and Land) inherit from Estate, we can use this abstract superclass in our HQL queries, as shown in Listing 14.

    而且因为两个映射(BuildingLand)是从estate继承而来,所以我们可以HQL查询使用这个抽象类,如清单14

    youdao

  • HQL supports the use of ANSI SQL row value constructor syntax (sometimes called tuple syntax), even though the underlying database may not support that notion.

    HQL支持ANSISQL构造语法用法,(有时元组语法),甚至虽然底层数据支持这种语法。

    youdao

  • Hibernate allows you to define a fetching strategy at two locations. One is to declare it in the mapping metadata; the other is to override it in either the HQL or the Criteria.

    Hibernate允许两个地方定义数据抓取策略映射元数据中,一处是在HQLCriteria中覆盖

    youdao

  • Hibernate allows you to define a fetching strategy at two locations. One is to declare it in the mapping metadata; the other is to override it in either the HQL or the Criteria.

    Hibernate允许两个地方定义数据抓取策略映射元数据中,一处是在HQLCriteria中覆盖

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定