网站首页  词典首页

请输入您要查询的英文单词或汉字:

 

词汇 dao
释义 dao 英'dɑːəʊ美'dɑːoʊ COCA⁶⁷⁴⁷⁵BNC⁶⁸⁹⁴⁶
基本例句
abbr.部门行政命令 =departmental administrative order
A session facade EJB business methods call more than one DAO to save on more than one table.
会话外观 EJB业务方法调用了一个以上的 DAO来将其保存在一张以上的表中。 ibm

The business delegate may in turn rely on a DAO object that in turn relies on a database query or an OR mapping query that sorts the CDs very efficiently.
业务代理又可能会依赖于一个 DAO对象,而后者又依赖于一个数据库查询或 OR映射查询,这样可以对 CD进行有效的查询。 ibm

The DAO pattern, as its name implies, encapsulates logic for accessing data in an object or set of related objects.
顾名思义, DAO模式封装了访问一个对象或相关对象集中的数据的逻辑。 ibm

A well- implemented DAO class will use logging to capture details about its run- time behavior.
一个良好实现的 DAO类将使用日志记录来捕捉有关其运行时行为的细节。 ibm

A DAO should strive to encapsulate JDBC rather than expose JDBC to the rest of the application.
一个 DAO应该力争封装 JDBC而不是将 JDBC公开给应用程序的其余部分。 ibm

All database access in the system is made through a DAO to achieve encapsulation.
系统中的所有数据库访问都通过 DAO进行以实现封装。 ibm

Because the finder methods are specific to each domain object, they are applied to the typed interfaces of the generic DAO.
因为查找器方法是特定于每个域对象的,因此将其应用于泛型 DAO的类型化接口。 ibm

By adding the auditing logic to the save method, any object saved using the DAO will automatically have the auditing fields filled in.
通过在保存方法中添加审计逻辑,使用这个 DAO保存的任何对象都会自动填充审计字段。 ibm

By adding extra code into the DAO to write all relevant details out to the AUDIT database.
通过添加一些额外的代码到 DAO就可以写下相关的细节到审计数据库内。 yeeyan

For most developers, writing almost the same code for every DAO in a system has by now become a habit.
对于大多数开发人员,为系统中的每个 DAO编写几乎相同的代码到目前为止已经成为一种习惯。 ibm

For some people, creating a DAO for each database table may seem to be a very straightforward approach.
对于有些人而言,为每个数据库表创建一个 DAO也许看上去是非常简单的方法。 ibm

Governor Dao said, Xishuangbanna has rich natural resources and is renowned for its splendid tropical rain forest and unique ethnic customs.
刀林荫州长表示,西双版纳资源丰富,以神奇的热带雨林等自然景观和少数民族风情闻名于世。 www.fmprc.gov.cn

I stepped outside to look around town with Zheng Dao and her daughter Li Cheng, a nineteen-year-old art major.
我和郑道音还有她的女儿李程音----一个十九岁学艺术的小姑娘----站在外面远眺着小镇的景色。 yeeyan

If a domain object has an independent lifecycle, it should have its own DAO.
如果域对象具有独立生命周期,它应具有自己的 DAO。 ibm

If you encounter a failure in a DAO, logs often provide the best information for understanding what went wrong.
如果在 DAO中遇到故障,那么日志通常可以提供判断出错位置的最好信息。 ibm

Methods in the DAO interface should throw checked exceptions only if the caller can reasonably be expected to handle the exception.
只有在可以合理地预期调用者可以处理异常时, DAO接口中的方法才应该抛出检查过的异常。 ibm

Notice how the caller in this example combines multiple DAO operations within the transaction.
注意在这个例子中调用者是如何在一个事务中结合多个 DAO操作的。 ibm

One is that it assumes that the common DAO save method will always be used to save data.
一个缺陷是,这种方式假设应用程序总是使用通用 DAO的保存方法来保存数据。 ibm

Some transactions might start in the API layer, some in the business layer, and some even in the DAO layer.
一些事务可能在 API层中开始,一些在业务层中开始,还有一些甚至在 DAO层中开始。 ibm

This approach lets both teams work simultaneously, with their interaction defined by the shared contract of the DAO interface.
这种方法允许两个团队同时工作,他们的交互是由 DAO接口的共享约定定义的。 ibm

This concern cuts across many DAO methods, and would require many separate modifications to implement in a traditional manner.
这个关注点横切许多 DAO方法,而且在传统的方式中会需要实现许多单独的修改。 infoq

This was puzzling, but I soon realized the problem: I had neglected to tell the class that I was implementing a third pattern in addition to MVC and DAO.
这很令人费解,但是我很快意识到了问题所在:我忘了告诉那些学生,我正在实现 MVC和 DAO之外的第三种模式。 ibm

You can still apply it when using data- access object DAO or JDBC-based frameworks and database stored procedures.
在使用数据访问对象 DAO或基于 JDBC的框架和数据库存储过程时,您可以使用它。 ibm

You will learn how to incorporate all three in your DAO classes.
您将学到如何将这三者结合到自己的 DAO类中。 ibm
随便看

 

英汉汉英双解词典包含9999994条英汉翻译词条,涵盖了常用英语单词及词组短语的翻译及用法,是英语学习的必备工具。

 

Copyright © 2000-2024 tbdmj.com All Rights Reserved 更新时间:2025/2/2 21:34:57