上一步的结果是一个新的连接对象。
接下来,您需要创建客户端连接对象。
我从接受连接url并创建连接对象开始。
I start off by taking the connection URL and creating a connection object.
当前正在使用的连接对象的数量。
The number of connection objects that are currently being used.
允许每个连接对象都对池超时。
首先,您设置一个到本地数据库的数据库连接对象。
First, you set up a database connection object to a local database.
它的参数是连接对象和一个有效的SQL查询字符串。
It takes the connection object and a valid SQL query string as parameters.
修改断开连接对象joinrowset。
使用连接器图标来连接对象(单击资源和目标对象)。
Connect the objects using the connector icon (click on source and target objects).
这种双向通信机制通常由一个连接对象例如。
This two - way communication is typically handled by a connection object for example, a.
API很直观:您调用单个方法,并返回一个连接对象。
The API is straightforward: You call a singleton method and get back a connection object.
它的参数是连接对象,它返回已经执行的函数的返回码。
It takes the connection object as a parameter and returns the return code for the function that was executed.
通过在头文件中简单的声明他们来连接对象。
在连接对象,您可以指定选项来调整写问题。
In the connection object, you can specify options to tune the write concerns.
它返回一个您可以在整个php程序中使用的连接对象。
It returns a connection object you can use throughout your PHP program. The following code shows an example.
实现了自定义转换程序之后,您需要连接对象和转换程序。
Now that you have implemented a custom converter, you need to connect the object and the converter.
如果成功,为以后的使用功能和新的连接对象。
On success, a new connection object for use with subsequent functions.
需要创建多少个客户端连接对象,这取决于需要多少个网桥队列。
How many client connection objects you need to create will depend on how many bridge queues are required.
与数据库资源一样,通过使用可以合用的连接对象来访问消息队列。
As in the case of a database resource, message queues are accessed using connection objects that can be pooled.
实现数据库连接池,重用连接对象,而不是重复地打开和关闭连接。
Implement connection pools to the database and reuse connection objects, rather than repeatedly opening and closing connections.
代码样本显示了EJB组件如何使用连接对象来访问消息队列资源。
This code sample shows how an EJB component might access a message queue resource, using connection objects.
创建与前面创建的元数据和数据库连接对象相关联的Mediator实例。
Create a Mediator instance associated with the metadata and database connection objects previously created.
一旦应用程序的数据访问部分已经完成,还应该关闭数据对象,以便释放与之关联的连接对象。
Data objects should also be closed once the data access part of your application is complete, so that the connection object associated with it is released too.
最后,验证联合服务器上的可信连接对象从建立连接之时起没有被禁用、放弃或改变。
Finally, verify that the trusted context object on the federation server has not been disabled, dropped, or altered since your connection was established.
物理连接(physical connection)是从JDBC驱动程序返回的连接对象。
A physical connection is the connection object returned from the JDBC driver.
以下代码示例显示了EJB应用如何利用合用的连接对象来访问数据库资源(基于JDBC 2.0)。
The following code example shows how an EJB application might access a database resource by using pooled connection objects (based on JDBC 2.0).
DB 2 Command-该命令对象支持使用数据连接对象执行任何受支持的sql语句或存储过程。
DB2Command - The command object allows for executing any supported SQL statement or stored procedure using a data connection object.
如果成功地连接到数据库,这个函数会返回一个连接对象,后续的数据库读写操作需要使用这个对象。
Upon successfully connecting to the database, this function returns a connection object, which is required in the subsequent database read and write operations.
在这里,我们可以模拟数据库连接对象的查询方法,这样我们就只需要返回结果,而不需要真正地去查询数据库。
In this case, we would mock the query method of the database connection object so that we could just return back the results instead of calling out to the database for them.
它以MySQL数据库连接对象作为参数;如果数据库关闭操作成功,它就返回true,否则返回false。
It takes the MySQL database connection object as a parameter and returns true if the database close operation was successful and false if it failed.
应用推荐