When the application shuts down, it can close database connections, save the current state, and so on.
当应用程序关闭时,会关闭数据库连接、保存当前状态,等等。
It costs much the system resources to make and close database connection, and in many cases is the bottleneck in the system.
数据库连接的建立和关闭是极其耗费系统资源的,在很多情况下是系统的瓶颈。
Failure to close database resources on all paths out of a method may result in poor performance, and could cause the application to have problems communicating with the database.
方法可能未关闭数据库资源,未关闭数据库资源将会导致性能变差,还可能引起应用与服务器间的通讯问题。
Close and shutdown the database connection.
关闭和停止数据库连接。
Because these resources, like the connection or any database cursors, can be managed outside the JVM running your database application code, your application must close them explicitly.
因为可以在运行数据库应用程序代码的JVM之外管理连接或数据库游标这样的资源,所以应用程序必须显式地关闭这些资源。
Finally, we retrieve the results of our SQL statement and close the connection to the database.
最后,我们将检索sql语句的结果并关闭数据库连接。
A complementary function to the connect operation is the database close function.
与连接操作对应的函数是数据库关闭函数。
Click the cross button at the top-right side of the Database Definition Tool dialog box to close it.
单击Database Definition Tool对话框右上方的交叉按钮,关闭该对话框。
You don't need two connections to the same database right now, so you can use the disconnect; command to close the current connection.
现在不需要到同一数据库的两个连接,因此可以使用disconnect;命令关闭当前连接。
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。
Before you close this dialog, make sure to click on the Test button to verify that you've entered the correct information to connect to and use the IBM DB2 UDB SAMPLE database.
在关闭此对话框之前,务必单击test按钮,验证已为连接和使用IBMDB 2UDB SAMPLE数据库输入了正确的信息。
Before you close this dialog, make sure you click on the Test button to verify that you've entered the correct information to connect to and use the IBM DB2 UDB SAMPLE database.
在关闭该对话框之前,应单击test按钮,以检验是否输入了连接和使用IBMDB 2UDB SAMPLE数据库所需的正确信息。
A database resource leak occurs when an application allocates a resource but then never declares the resource to be no longer used (for example, by issuing a close operation).
当应用程序分配了资源,但此后未声明不再使用资源时(比如通过发起close操作)便会出现数据库资源泄漏。
Select the "Database is a template" option, enter a template name, and then close the properties box.
选择“Databaseisatemplate”选项,输入模板名,然后关闭属性对话框。
The MySQL API forces users to set up the database resource and close it using the close method.
MySQLAPI迫使用户建立数据库并使用close方法关闭数据库。
After you verify your connection to the database (Figure 16), close the session (click the X in the upper right of the database session window).
当您核实连接到数据库的连接之后(图16),关闭这个部分(点击这个数据库窗口右上角的X)。
This function attempts to close the previously opened database connection.
这个函数尝试关闭以前打开的数据库连接。
They do offer fascinating possibilities, for instance writing/reading a file handle could write/read directly to a database, or send an e-mail when you close the file.
但它确实能够让人神往,例如,通过写/读文件句柄,可以直接写/读数据库,或者在关闭文件时发送一封电子邮件。
Database clustering places frequently accessed DB2 rows in the same page and frequently accessed pages close together on disk.
数据库集群会将经常访问的DB 2行放在同一页面中,经常访问的页面集中放在磁盘上。
Once that's complete, close the database and use HTTP headers to force the browser to go to the login page.
完成这些之后,关闭数据库并使用HTTP标头强制浏览器打开登录页面。
Simply warns the user that he is close to exceeding his limit and allows him an opportunity to reduce the size of the database prior to receiving the previous warning.
仅仅警告用户接近超过限制,并在收到前面的警告前给用户一个减小数据库大小的机会。
Database roles can be used to close the gaps left behind by the external group membership.
数据库角色可用于填补外部组关系留下的鸿沟。
Note: the optimal time to close the database connection will depend on the specific business logic of your Web application.
注意:关闭数据库连接的最佳时间取决于Web应用程序的特定业务逻辑。
This process used a Type 4 JDBC driver from the Apache Derby project to connect to a database, extract metadata from the database, and then close the database connection.
这个过程使用ApacheDerby项目中的Type4JDBC驱动程序连接数据库,从数据库中提取元数据,然后关闭数据库连接。
As you may know, Oracle EBS is a database-based system, so the scenario is close to the use case here.
正如您可能了解的一样,OracleEBS是一个基于数据库的系统,因此与我们现在面对的场景十分相近。
Last, but not least, you need to commit these changes and close the database.
最后还需要提交修改并关闭数据库。
We are still not done at this point, close the Web browser and stop server1 since we have not updated the server configuration with the JDBC driver and data source for the SAMPLE database.
在此时,我们仍然还未完成,请关闭Web浏览器并停止server1,因为我们还未用JDBC驱动程序和SAMPLE数据库的数据源更新服务器配置。
The close method writes any changes back to the Notes database, if any attribute has changed.
如果有任何属性发生更改,那么close方法会把所有更改都写回Notes数据库。
For example, a program that USES NOS to open a database, count the number of notes in it, and then close it, works whether the database is local or remote.
比如,程序可以利用NOS打开一个数据库,计算数据库中的文档数目,然后关闭数据库,不管数据库是否在本地。
For example, a program that USES NOS to open a database, count the number of notes in it, and then close it, works whether the database is local or remote.
比如,程序可以利用NOS打开一个数据库,计算数据库中的文档数目,然后关闭数据库,不管数据库是否在本地。
应用推荐