We'll begin with a review of the Data Access Object pattern.
我们将从回顾数据访问对象模式入手。
Data Access Object (DAO) and Session Facade are both good ones to use.
数据访问对象(Data Access Object,DAO)及会话外观(Session Facade)都是非常值得一用的。
The data Access Object got several finder methods to query the database.
数据访问对象(Data Access Object)有一些搜索方法以查询数据库。
Listing 4 shows a class data access object class, hence the name TeamDao.
清单4显示的是类数据访问对象类,名为TeamDao。
Use a Data Access Object (DAO) to abstract and encapsulate all access to the data source.
使用数据访问对象来抽象和封装对数据源的所有访问。
Figure 16: Example of a simple Data Access Object class that we might want to profile.
图16:需要测量的简单的数据访问接口类。
Listing 19. Update method and statement for the in-the-bean mapping Employee data access object.
清单19. bean内映射的Employee数据访问对象的更新方法和语句。
In the application shown in Figure 2, the GUI relies on an abstraction — a data access object or DAO.
在图2所示的应用程序中,GUI依赖于一个抽象——一个数据访问对象或DAO。
The techniques involved in implementing an EAz data access object to persist and retrieve permissions.
实现EAz数据访问对象以保持和检索权限所涉及的技术。
The goal of the data Access Object pattern is to provide a single point of contact to a particular data source.
数据访问对象模式的目的是提供到特定数据源的单个联系点。
The Contacts Sample uses a multitier pattern for data access: presentation - service - data access object - database.
ContactsSample在数据访问中使用了多层模式:表示-服务 - 数据访问对象 -数据库。
This is a Spring and Data Access Object (DAO) service that receives a REST-encoded request over a JMS service interface.
这是一个Spring和数据访问对象(DAO)服务,其接收运行在JMS服务接口之上的REST编码的请求。
For example, the transfer object, business object, and data access object templates may be applied to each entity in the PIM.
举例来说,传递对象、业务对象,和数据访问对象模板将应用于PIM中的每个实体。
The result from the Stock web service is converted back to the local schema and populated back in the predefined Data Access Object.
从股票Web服务获得的结果要转变成本地的schema并且聚集回到预定义数据访问对象中去。
The framework's support for Hibernate is in compliance with Spring's generic transaction and data access object (DAO) exception hierarchies.
框架对Hibernate的支持符合Spring通用的事务和数据访问对象(DAO)异常层次结构。
Applying the data access Object (DAO) pattern throughout the applications enabled us to separate low-level data access logic from business logic.
在整个应用程序中使用数据访问对象(DAO)使我们可以将底层数据访问逻辑与业务逻辑分离开来。
This data access object is extremely simple; it does not connect to any external resources (such as relational databases) to obtain Test instances.
该数据访问对象极其简单;它不连接任何外部资源(比如关系数据库)以获得Test实例。
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.
一旦从数据源取出了相关数据,模型服务就可以聚集数据访问对象并将它发送回给action类。
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.
在demo包中,还会发现Test对象的数据访问对象(TestDAOImpl)的实现,它允许您按照ID查找Test实例。
The annotated interface that defines the data access object provides a central control point to manage the SQL statements for the entire application.
带注释的接口为管理整个应用程序的sql语句提供一个集中控制点。
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.
本系列前两篇文章详细介绍了如何使用内联方法和数据访问对象(DAO)来访问数据库。
A data access object (DAO) that USES JPA is packaged with a persistence.xml that defines persistence context for the JPA EntityManager used by the application.
使用JPA的数据访问对象(DAO)与persistence . xml打包在一起,后者为应用程序使用的JPAEntityManager定义持久性上下文。
I encourage you to check out the Morphia Google Code project for information about its data access object (DAO) support, validation, and manual mapping capabilities.
要获得有关其数据访问对象(Data Access Object,DAO)支持、验证和手动映射功能的信息,我鼓励您查看MorphiaGoogleCode项目。
Crack open example 4, which shows a CommandLineView object with a property for a RentaBike store, which eventually becomes the data access object for this application.
解压示例4,它展示了一个用于RentaBike商店的带有属性的CommandLineView对象,该对象最终成为该应用程序的数据访问对象。
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.
在采用数据访问对象构建集成层的基础上,创新性地将业务层的值对象模式引入到集成层,提出在集成层构筑持久性框架的技术方案。
Configuration Major layers of the application — in the RentaBike application, I expose a Data Access Object (DAO) layer, a controller layer, and a view layer (see Listing 1).
配置应用程序的主要层——在RentaBike应用程序中,我公开了一个数据访问对象(dao)层、一个控制器层和一个视图层(参阅清单1)。
If the application USES a DAO (data access object) with dynamic SQLs and stored procedures, the value object that is passed to DAO can be declared as a cloud resource using annotations.
如果应用程序使用DAO(数据访问对象)来产生动态sql和存储过程,那么传递给DAO的值对象就可以使用注释声明为一种云资源。
Figure 7 shows the critical portion of our example Data Access Object (DAO) code, demonstrating how to retrieve and reconstitute ACL information from strings stored in a properties file.
图7显示了示例数据访问对象(Data Access Object,DAO)代码的关键部分,并演示了如何从属性文件中存储的字符串检索和重新构建ACL信息。
The best way to understand how SDAO works is to see it in action, and hopefully apply it for yourself. We'll start with a simple example of a simulated data access object, shown in Listing 2.
理解SDAO如何工作的最佳方法是实际研究它,并希望您亲自应用它。
The Data Access Object (or DAO) pattern separates a data resource's client interface from its data access mechanisms, adapts a specific data resource's access API to a generic client interface.
本文详细介绍了数据访问对象设计模式:将数据源的客户访问接口和数据访问机制分离开,使特定的数据源访问API转化成普通的客户端接口。
应用推荐