In this article you will work with the DB2 database adapter.
在本文中,您将使用DB 2数据库适配器。
Setting up your application to an ORM is somewhat similar to that of a standard database adapter.
让你的应用程序支持OR M非常类似使用那些标准的数据库接口程序。
In this section, you create the export from which the adapter sends updates when the database table is modified.
在本部分中,您将创建一个导出,当修改数据库表时,适配器从该导出发送更新。
You use this adapter to exchange business objects with any database that you can connect to using JDBC.
您可以使用此适配器与使用JDBC连接的任何数据库交换业务对象。
Inbound work, like number of files in the file system for a flat file adapter or data in a database table for a JDBC adapter, should not grow unusually.
到达的工作(比如平面文件适配器的文件系统中的文件或JDBC适配器的数据库表中的数据)不应该以超常的速度增长。
The database synchronization scenario is a good example where you can put both the inbound and outbound capabilities of the JDBC adapter to use.
数据库同步场景是一个很好的示例,其中您可以放置要使用的JDBC适配器的入站和出站功能。
On the next pages you create the operations that are available for your database export, then create the module to contain the export and to configure the properties for the adapter.
在接下来的页面上,您可以创建用于数据库导出的操作,然后创建模块以包含导出并配置适配器的属性。
Before you run the JDBC resource adapter application, you need to configure your server so that the resource adapter can authenticate with the database.
在运行JDBC资源适配器应用程序之前,您需要配置服务器,以便资源适配器可以对数据库进行身份验证。
With the JDBC resource adapter, the trick to getting database changes to a module is using a trigger.
使用JDBC资源适配器,获取对模块进行数据库更改的技巧是使用触发器。
You'll define database triggers for the JDBC adapter inbound processing.
您需要为JDBC适配器入站处理定义数据库触发器。
You set up two example databases and then built an application that used the resource adapter to copy any changes to one database into the other.
您建立了两个示例数据库,然后又构建了一个应用程序,该应用程序使用资源适配器将一个数据库的任何更改复制到另一个数据库。
If a business process fails, the global transaction is rolled back, including any database interaction the adapter has exercised during the transaction.
如果某个业务流程失败,则会回滚该全局事务,包括适配器已在该事务期间执行的任何数据库交互。
We'll be using the "inbound interface" of this adapter to kick-off business processes when a create, update, or delete occurs in a database table.
当数据库表中发生创建、更新或删除事件时,我们将使用该适配器的“入站接口”来调用业务流程。
The JDBC Adapter lets you integrate your applications with any database having a JDBC driver that supports JDBC 2.0 or later.
JDBC适配器可让您将应用程序与具有支持JDBC 2.0或更高版本的JDBC驱动程序的任何数据库集成。
The wizard uses the JDBC resource adapter to determine what operations are available as part of the database.
该向导使用JDBC资源适配器确定哪些操作可用作数据库的一部分。
You use the flat file resource adapter to access files, such as comma delimited or XML, in the same way you access another EIS or database.
您可以使用平面文件资源适配器访问文件(如逗号分隔的文件或XML文件),并可以使用相同的方法访问其他EIS或数据库。
There are different types of connections, such as connecting to a database via JDBC, JMS connections, as well as connections to any other external resource connected via a J2C resource adapter.
连接有不同的类型,比如通过JDBC连接到数据库,JMS连接,以及通过J2C资源适配器连接到其他任何外部资源。
The JDBC resource adapter handles requests to the EIS from the import, in this case a database.
JDBC资源适配器处理从导入到EIS 的请求,本示例中为数据库。
The import USES the resource adapter to write the updated information to the database, which is an outbound service request from the module.
导入使用资源适配器将更新的信息写入数据库,该数据库为该模块的出站服务请求。
The JDBC resource adapter forwards changed information in the EIS, in this case a create, update, or delete in a database, to an export in your module.
JDBC资源适配器将EIS中更改的信息(本示例中为数据库的创建、更改或删除)转发到模块中的导出。
This database includes the Customer table, which is the table that the application will synchronize, and the event table that the JDBC resource adapter will poll to create inbound events.
此数据库包括应用程序将要同步的客户表和JDBC资源适配器将轮询以创建入站事件的事件表。
There are several implementations of the Adapter class, for specific tasks, such as the CursorAdapter for reading database data from a Cursor, or an ArrayAdapter for reading from an arbitrary array.
针对特定的任务有着很多不同的Adapter类实现,比如CursorAdapter依据Cursor读出一个数据库的数据,而一个ArrayAdapter则从任一个数组进行读取。
The EJB container, persistence manager and the relational resource adapter and database work together to control the concurrency.
ejb容器、持久性管理程序、相关资源适配器和数据库将联合起来对并发性(concurrency)进行控制。
From Figure 1, the WebSphere JDBC adapter inbound service can listen and capture some changes from the tables in the database, generate an event, and deliver the event to the BPEL service.
在图1中,WebSphereJDBC适配器入站服务可以监听并捕获数据库中的表的一些更改,生成事件并将事件发送给BPEL服务。
To use the inbound adapter, you have to create the Cloudscape database using the Cview application
要使用入站适配器,必须使用Cview应用程序创建Cloudscape数据库
The resource adapter provides access to a remote IBM Cloudscape database with local transaction support.
该资源适配器提供对具有本地事务支持的远程IBMCloudscape数据库的访问。
The resource adapter provides access to a remote IBM Cloudscape database with XA transaction support.
该资源适配器提供对具有 XA事务支持的远程IBMCloudscape数据库的访问。
Let's examine a Rails migration example using the IBM_DB adapter while attempting some database object changes related to a Rails application evolution.
我们来考察一个Rails迁移的例子,该例子使用ibm_db适配器,并尝试一些与Rails应用程序变更相关的数据库对象更改。
Figure 1 illustrates a typical setting for the JDBC resource adapter, database components and WebSphere Process Server components.
图1说明了JDBC资源适配器、数据库组件和WebSphereProcessServer组件的典型设置。
The set of bus and adapter devices that are discovered in the new system most likely will not match the devices in the rootvg's ODM database.
新系统上发现的总线和适配器设备集很可能与 rootvg的ODM数据库中的设备不匹配。
应用推荐