• Listing 4 shows some example code for the generic dao.

    清单4给出这个泛型DAO的一些示例代码。

    youdao

  • Yang received the 1957 Nobel Prize in Physics together with Tsung-dao Lee, for their work on parity non-conservation of weak interaction.

    杨振宁和李政道因为在弱相互作用下宇称不守恒原理方面的工作获得了1957年的诺贝尔物理学奖。

    youdao

  • Will a DAO invoke methods on another DAO?

    一个DAO是否调用另一个DAO的方法?

    youdao

  • The DAO layer has strong database cohesion.

    dao层具有强大的数据库内聚力。

    youdao

  • The DAO participates in a global transaction.

    dao加入一个全局事务。

    youdao

  • DAO methods should throw meaningful exceptions.

    DAO方法应该抛出有意义的异常。

    youdao

  • Consider defining standard DAO exception classes.

    考虑定义标准dao异常类。

    youdao

  • A concrete class that implements the DAO interface.

    一个实现了dao接口的具体类。

    youdao

  • Will a transaction involve one DAO or multiple DAOs?

    事务涉及到一个DAO还是多个DAO ?

    youdao

  • Add the 10-line Spring configuration file for the DAO.

    为dao添加10行spring配置文件。

    youdao

  • Transaction demarcation code is separated from the DAO.

    事务界定代码从DAO中分离出来。

    youdao

  • The foundation for a generic DAO is its CRUD operations.

    泛型DAO的基础是其CRUD操作。

    youdao

  • These are handled outside the DAO to achieve flexibility.

    这些不由DAO处理是为了实现灵活性。

    youdao

  • For the sample application the DAO trait looks as follows.

    对于该示例应用来说,其DAOtrait如下代码所示。

    youdao

  • Transaction demarcation code is embedded inside the DAO class.

    事务界定代码嵌入在dao类中。

    youdao

  • You will learn how to incorporate all three in your DAO classes.

    您将学到如何将这三者结合到自己的dao类中。

    youdao

  • External dependencies — For instance, my DAO needs a data source.

    外部依赖性——例如,我的DAO需要一个数据源。

    youdao

  • Listing 1 shows a DAO with two data operations: create and update.

    清单1显示了一个有两种数据操作的DAO:创建和更新。

    youdao

  • Should the DAO be responsible for starting and ending transactions?

    DAO 是否要负责事务的开始和结束?

    youdao

  • When implementing the DAO pattern, consider the following questions

    在实现DAO模式时,考虑以下问题

    youdao

  • How will exceptions be handled within the DAO implementation class?

    在DAO实现类中如何处理异常?

    youdao

  • The engine generates packages for each layer (DAO, service, and Web).

    引擎会为每一层(DAO、服务以及Web)生成包。

    youdao

  • The DAO may allow queries based on criteria other than the primary key.

    DAO可允许基于除主键之外的标准进行查询。

    youdao

  • Specifically, DAO separates business logic from database persistence code.

    具体来说,DAO将业务逻辑与数据库持久性代码分隔开来。

    youdao

  • Like many design patterns, DAO is grounded on the separation of design tasks.

    与许多设计模式相似,DAO以分隔设计任务为基础。

    youdao

  • Today, Dao De Jing still plays a role in the development of Chinese thoughts.

    时至今日,《道德经》在中国思想的发展中仍然发挥着重要作用。

    youdao

  • Another example would be a DAO that provides caching services for another DAO.

    类似的一个例子将是一个为另一个DAO提供缓存服务的DAO。

    youdao

  • The DAO is not responsible for handling transactions, sessions, or connections.

    DAO不负责处理事务、会话或连接。

    youdao

  • The DAO may use Spring's declarative transaction demarcation as described above.

    DAO可以使用上面描述的Spring声明式事务划分。

    youdao

  • The DAO completely hides the data source implementation details from its clients.

    DAO将数据源的实现细节对客户端完全的隐藏了起来.

    youdao

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

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

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