Next, obtain database metadata from the Connection object.
接下来,从Connection对象获得数据库元数据。
Allow each connection object to time out of the pool.
允许每个连接对象都对池超时。
The result of the previous step is a new connection object.
上一步的结果是一个新的连接对象。
JDBC transactions are controlled using the Connection object.
JDBC事务是用Connection对象控制的。
Let's start with the Connection object we pass into the method.
让我们以被传递到方法之中的Connection对象为出发点。
First, you set up a database connection object to a local database.
首先,您设置一个到本地数据库的数据库连接对象。
When you are done using the connection object, you must close it.
当你使用完连接对象以后必须关闭它。
NET connection object and how to use it to connect to a data source.
NET连接物件和如何使用它连接到资料来源。
It takes the connection object and a valid SQL query string as parameters.
它的参数是连接对象和一个有效的SQL查询字符串。
I start off by taking the connection URL and creating a connection object.
我从接受连接url并创建连接对象开始。
On success, a new connection object for use with subsequent functions.
如果成功,为以后的使用功能和新的连接对象。
A physical connection is the connection object returned from the JDBC driver.
物理连接(physical connection)是从JDBC驱动程序返回的连接对象。
Note: This property can be set only when the Connection object is closed.
注意:该属性仅允许在连接关闭时设置。
In the connection object, you can specify options to tune the write concerns.
在连接对象,您可以指定选项来调整写问题。
The API is straightforward: You call a singleton method and get back a connection object.
API很直观:您调用单个方法,并返回一个连接对象。
In line 13 of Listing 1, the connection object (con) is established as the "default" connection.
在清单1的第13行上,Connection对象(con)被建立为“默认”连接。
It returns a connection object you can use throughout your PHP program. The following code shows an example.
它返回一个您可以在整个php程序中使用的连接对象。
It takes the connection object as a parameter and returns the return code for the function that was executed.
它的参数是连接对象,它返回已经执行的函数的返回码。
Once the connection is added, Server Explorer includes the connection object under Data Connections (Figure 8).
添加连接之后,在ServerExplorer中DataConnections下面会包含这个连接对象(图8)。
The printCatalogServers() method needed the JMX connection object to be passed into it in order to query for the server MBean.
printCatalogServers()方法需要传入JMX连接对象,以便查询服务器Mbean。
DB2Command - The command object allows for executing any supported SQL statement or stored procedure using a data connection object.
DB 2 Command-该命令对象支持使用数据连接对象执行任何受支持的sql语句或存储过程。
You've used odbc_exec already; it takes in a connection object and an SQL string, fires it all off, and returns a result set object.
前面曾使用过odbc_exec函数,它接受了一个连接对象和一个sql字符串,执行该函数后,会返回一个结果集对象。
In some situations, you might find it convenient to create a connection object without the assistance of any data design tools.
在某些情况下,您可能认为没有任何资料设计工具协助之下,就可以很方便建立连接物件。
The first step is to create a connection object to SQS using the Amazon Web Services access keys you exported earlier to your environment.
第一步是使用前面导出到环境中的AmazonWebServices访问键,创建一个连接到SQS 的连接对象。
The connection object is typically created as a result of completing one of the data wizards or of dragging data objects onto your form.
通常只要完成其中一个资料精灵,或是将资料物件拖曳至表单之后,即可建立连接物件。
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.
它以MySQL数据库连接对象作为参数;如果数据库关闭操作成功,它就返回true,否则返回false。
In this case, you must invoke the commit method on the Connection object if all is well; otherwise, invoke the rollback method if an exception occurs.
在本例中,如果一切正常,您必须调用Connection对象上的commit方法;否则,如果出现异常,则调用rollback方法。
The following method, in a class called DatabaseExample, takes a database Connection object, reads the records from the database, and prints the values.
下面的方法,在一个被称为DatabaseExample 的类中,使用数据库Connection对象,从数据库中读取记录并打印出数值。
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.
一旦应用程序的数据访问部分已经完成,还应该关闭数据对象,以便释放与之关联的连接对象。
Upon successfully connecting to the database, this function returns a connection object, which is required in the subsequent database read and write operations.
如果成功地连接到数据库,这个函数会返回一个连接对象,后续的数据库读写操作需要使用这个对象。
应用推荐