它们是应用程序中用于全局对象的一种常见模式,如数据库连接和配置设置。
They are a common pattern used for global objects in an application, such as database connections and configuration Settings.
数据库系统的出现与应用,为企业带来了一整套崭新的管理模式,同时也为用户提供了一个良好的操作界面,其间管理过程被极大地简化了。
The appearance and applying of database system, bring out a fire-new management mode to the corporation and a better interface to the users.And it greatly simplifies the process.
应用于多租户架构的数据库模式可能会有不同,因此必须进行相应的规划。
Specific database schemata patterns apply to multi-tenant architectures, and these must be planned for accordingly.
为应用程序生成自己的数据库模式并手动安装。
Generate your own database schema for the application and install it manually.
但是当您能为应用程序显式地设计数据库模式时,您通常不需要映射框架了。
But when you can design the database schema explicitly for your application, you often don't need a mapping framework.
另外,随着时间的推移会出现新的产品和新的产品属性,就需要修改数据库模式(以及依赖于它的所有应用程序),这会导致很高的成本。
And, as new products and new product attributes are introduced over time, the database schema (and any applications that depend on it) would need to be altered, which can be quite costly.
如果应用程序想要预先填充数据库,则需要上传模式文件。
If your application is expecting the database to be pre-populated, also upload a schema file.
数据清理模式的传统上下文是数据库层,经常将数据清理模式应用到此层。
The traditional context of the data cleansing pattern is the database layer, which is where it is most often applied.
在DB 2V9.7上启用应用程序时,实例和数据库必须处于兼容模式。
When enabling applications to be run on DB2 V9.7, the instance and the database must be operating in compatibility mode.
应用程序依赖XML文件来进行数据交换以及关系数据库来提供数据永久性都是应用程序业务逻辑(也就是其模式)的特征。
An application's reliance on XML documents for data exchange and relational databases for data persistence are characteristics of the application's business logic (that is, its model).
其他的应用领域还包括侵入检测、Web日志分析、数据库访问模式等等。
Other application areas include intrusion detection, web log analysis, database access patterns, and so on.
来自各种异构应用数据库的数据被复制和集成到拥有正规数据模式的单个企业数据库中。
Data from heterogeneous application databases is replicated and integrated in an enterprise database with a canonical data schema.
在这种操作模式下,驱动程序不返回控制到应用程序,直至它自己向数据库服务器发送的请求完成。
In this mode of operation, the driver does not return control to the application until its own request to the database server is complete.
这种升级不需要在应用程序代码或数据库模式方面做任何更改。
This upgrade does not require any change in application code or the database schema.
模式:使用脚本和数据库在每个目标环境中应用增量更改。
Pattern: Use scripts and database to apply incremental changes in each target environment.
我们将研究这两个环境在应用程序代码、数据库查询和关系模式方面的差异。
We will explore the difference in the application code, database queries and the relational schemas for the two environments.
另一个模型是嵌入模式,在这种模式下,应用程序不但包含实现必要业务逻辑的软件,而且包含数据库引擎软件。
The alternative model is the embedded mode, where an application consists not only of the software that implements the requisite business logic, but also of the database engine software.
在此模式中,一个应用程序将数据写入数据库,另一个应用程序从该数据库中读取数据。
In this case, one application writes data to a database, while the other applications read from the database.
看第一个简单的例子,考虑一个电话簿应用程序的由单个表组成的数据库模式,如表1所示。
As a first example, consider a database schema consisting of a single table for a phone book application as shown in table 1.
为应用程序创建数据库模式或选择现有的模式。
Create a database schema for the application or select an existing schema.
该模式的另一种选择是使用始终脱机模式并编写应用程序,当本地数据库发生更改时,将在后台立即进行同步操作。
An alternative to this pattern is using the always-offline pattern and coding the application to synchronize immediately in the background when changes are made to the local database.
数据库模式被设计成接受这种格式的数字,这暗示着底层应用程序——不管怎样——都希望数字是这种格式。
The database schema is designed to accept Numbers in that format, which implies the underlying application — whatever it might be — expects them in that format.
比如数据库连接池就是单例设计模式的一个例子:我们一般不想让应用程序具有连接池类的多个资源密集型实例。
An example use case for a singleton would be a database connection pool: you don't want your application to have multiple resource-intensive instances of a connection pool class.
由于组合应用程序可能具有不同的数据视图,因此需要能够在数据库模式层提供数据可变性。
Since composite applications may have different views of the data, there needs to be a way of providing data variability at the database schema layer.
反模式:在每个目标环境中手动应用数据库和数据更改。
Antipatterns: Manually applying database and data changes in each target environment.
一种影响数据库大小的常用设计模式是引入“心跳”或“调度器”应用程序。
A design pattern that is often applied, and has impact on the database size, is to introduce a "heartbeat" or "scheduler" application.
我们用JDBCAPI连接到我们公司的不同数据库平台上,并在整个应用程序中使用DAO设计模式。
We used the JDBC API to connect to our company's various database platforms and applied the DAO design pattern throughout the applications.
另外,数据库之上的应用程序及其用户仍然需要和其交互,不论模式如何变化。
Furthermore, the applications on top of the database and its users still need to interact with it regardless of its schema evolution.
自动调整执行策略,以便在基础数据库模式中应用更改,比如添加新的索引。
Automatically adjust execution strategy to accomodate changes in underlying database schemas, such as the addition of new indexes.
还要说明,在采用新的基于XML的应用程序开发体系结构之后,数据库模式会变得更简单更自然。
It shows how once you adapt to the new XML-based application development architecture, your database schemas become much simpler and more natural.
应用推荐