使用数据访问对象时发生下列例外项。
The following exceptions have occurred using Data Access Objects.
模拟数据访问对象实际上模拟后端数据存储。
Simulated data access objects essentially simulate a back-end datastore.
在下面一节中您将学习设计和实现数据访问对象的技术。
In the sections that follow you'll learn techniques for designing and implementing data access objects.
数据访问对象既可以匹配也可以不匹配域对象。
Data access objects may or may not match the domain objects.
实现EAz数据访问对象以保持和检索权限所涉及的技术。
The techniques involved in implementing an EAz data access object to persist and retrieve permissions.
清单4显示的是类数据访问对象类,名为TeamDao。
Listing 4 shows a class data access object class, hence the name TeamDao.
使用数据访问对象来抽象和封装对数据源的所有访问。
Use a Data Access Object (DAO) to abstract and encapsulate all access to the data source.
在本文中,您将了解使用模拟数据访问对象(SDAO)进行分层测试。
In this article, you'll learn about layered testing with simulated data access objects (SDAOs).
本例中,有一个存放数据模型的包和一个存放数据访问对象的包。
In this case you have a package where your data models are kept and a package where your data access objects are kept.
数据访问对象负责对持有数据(存储在关系数据库中)的对象进行操作。
Data access objects are responsible for operating on objects that hold data stored in a relational database.
在图2所示的应用程序中,GUI依赖于一个抽象——一个数据访问对象或DAO。
In the application shown in Figure 2, the GUI relies on an abstraction — a data access object or DAO.
举例来说,传递对象、业务对象,和数据访问对象模板将应用于PIM中的每个实体。
For example, the transfer object, business object, and data access object templates may be applied to each entity in the PIM.
地理数据访问对象方面,介绍了采用面向对象技术设计实现的地理数据访问类。
In the case of geographic data access objects, the paper illustrates the geographic data access class realized by oriented-object technology.
我们讨论过了事务界定和日志,现在对于如何在数据访问对象上应用它们有了更深入的理解。
We've looked at transaction demarcation and logging and you now have a deeper understanding of how each applies to data access objects.
Spring的核心要点是:支持不绑定到特定J2EE服务的可重用业务和数据访问对象。
A central focus of Spring is to allow for reusable business and data-access objects that are not tied to specific J2EE services.
本系列前两篇文章详细介绍了如何使用内联方法和数据访问对象(DAO)来访问数据库。
The first two articles of this series described in detail how to use inline methods and how to use data access object interfaces (DAOs) to access the database.
从股票Web服务获得的结果要转变成本地的schema并且聚集回到预定义数据访问对象中去。
The result from the Stock web service is converted back to the local schema and populated back in the predefined Data Access Object.
数据访问对象(Data Access Object)有一些搜索方法以查询数据库。
The data Access Object got several finder methods to query the database.
在使用数据访问对象(DAO)或基于JDBC的框架和数据库存储过程时,您可以使用它。
You can still apply it when using data-access object (DAO) or JDBC-based frameworks and database stored procedures.
该数据访问对象极其简单;它不连接任何外部资源(比如关系数据库)以获得Test实例。
This data access object is extremely simple; it does not connect to any external resources (such as relational databases) to obtain Test instances.
表示层对象会依赖于服务层对象,而这些服务层对象又依赖于其它服务对象和数据访问对象等。
Presentation layer objects will depend on service layer objects, which will themselves depend on other service objects and data access objects, etc.
一旦从数据源取出了相关数据,模型服务就可以聚集数据访问对象并将它发送回给action类。
Once the relevant data is retrieved from the data source, the Model service populates the data Access Object and sends it back to the Action class.
在整个应用程序中使用数据访问对象(DAO)使我们可以将底层数据访问逻辑与业务逻辑分离开来。
Applying the data access Object (DAO) pattern throughout the applications enabled us to separate low-level data access logic from business logic.
模型的主实例保持长期状态,并提供应用程序逻辑;而视图使用的副本实际上是一个可任意使用的数据访问对象。
The primary instance of the model is keeping long-term state and providing application logic; the copy used by the view is essentially a disposable data-access object.
这是一个Spring和数据访问对象(DAO)服务,其接收运行在JMS服务接口之上的REST编码的请求。
This is a Spring and Data Access Object (DAO) service that receives a REST-encoded request over a JMS service interface.
框架对Hibernate的支持符合Spring通用的事务和数据访问对象(DAO)异常层次结构。
The framework's support for Hibernate is in compliance with Spring's generic transaction and data access object (DAO) exception hierarchies.
ContactsSample在数据访问中使用了多层模式:表示-服务 - 数据访问对象 -数据库。
The Contacts Sample uses a multitier pattern for data access: presentation - service - data access object - database.
在demo包中,还会发现Test对象的数据访问对象(TestDAOImpl)的实现,它允许您按照ID查找Test实例。
In the demo package, you'll also find an implementation of a data access object (TestDAOImpl) for Test objects, which lets you find Test instances by ID.
本文的代码示例(在下载中可以获得完整的代码包)演示如何使用这些接口帮助执行审计和减少数据访问对象(DAO)中的代码重复。
This article's code examples (see Download to obtain the full package) show how to use these interfaces to facilitate auditing and reduce code duplication in data access objects (DAOs).
在采用数据访问对象构建集成层的基础上,创新性地将业务层的值对象模式引入到集成层,提出在集成层构筑持久性框架的技术方案。
On the basis of adopting data access object pattern in integration layer, creatively bring value object to integration layer and offer to construct persistent framework.
应用推荐