按照这种风格,服务器将数据推回客户机,但是不关闭连接。
In this flavor, the server pushes data back to the client, but does not close the connection.
但是,只有在关闭阅读器3g数据连接的情况下,你才能用到两周这个数字。
But the two-week figure only applies if you shut off the gizmo's 3g data connection.
FIN:表明不会再有来自发送方的数据了(也就是说,连接将要关闭)。
FIN: Indicates that there will be no more data from the sender that is, the connection will be shut down.
在以上任何一种Web应用程序中,服务器提供用户请求的数据,然后关闭连接,并释放那个线程,使之可以为其他请求服务。
In each case, the server provides the data that the user requests and can then close the connection, allowing that thread to be freed up to serve other requests.
在双方发送和接受加密数据的过程中,链接一直保持活动状态,直到任何一端发出一条“closurealert”消息并接着关闭连接。
The connection will stay open while both sides send and receive encrypted data until either side sends out a " closure alert" message and then closes the connection.
这个过程使用ApacheDerby项目中的Type4JDBC驱动程序连接数据库,从数据库中提取元数据,然后关闭数据库连接。
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.
当您核实连接到数据库的连接之后(图16),关闭这个部分(点击这个数据库窗口右上角的X)。
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).
选择您的连接(您的数据库连接现在可能已关闭;必要时请选择Reconnect链接并再次输入您的凭据),然后选择CUSTSCH模式。
Select your Connection (your database connection may have closed by now; select the Reconnect link and enter your credentials again, if necessary), and select the CUSTSCH schema.
就是在该方法调用中,我们获得然后再关闭数据库连接。
It is in this method call that the database connection is obtained and subsequently closed.
打开和关闭连接的过程开销较大,会影响到应用程序或数据库的性能,而使用连接池就可以消除大部分这样的开销。
Opening and closing connections is an expensive process affecting application or database performance and the use of connection pooling helps eliminate most of that overhead.
因为在于数据库交互时,打开以及关闭数据库的开销是非常昂贵的,您应该将您的数据库连接放在池中并且能重新使用。
Since opening and closing the connection is the most expensive part of interacting with a database, you will want to pool and reuse your database connection.
因为可以在运行数据库应用程序代码的JVM之外管理连接或数据库游标这样的资源,所以应用程序必须显式地关闭这些资源。
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.
实现数据库连接池,重用连接对象,而不是重复地打开和关闭连接。
Implement connection pools to the database and reuse connection objects, rather than repeatedly opening and closing connections.
但如果在此时间段内没有事件,或者客户端需要向服务器发送更多的数据,连接将关闭,客户端将在一段时间后重新打开另一个连接。
But if there is no event in that timeframe, or if the client has more data to send to the server, the connection is closed and the client reopens another connection after a certain amount of time.
也就是说,真正的数据库连接会相对较少关闭,但它们的池代理则会随着每个事务获取或释放。
That is, the real database connections are closed relatively infrequently, but their pooled proxies are acquired and released with every transaction.
连接关闭:在发送完所有数据之后,通信伙伴中的一方想要关闭连接。
Connection shutdown: Once all the data have been sent, one of the communication partners will want to shut down the 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.
例如,您可能会想要验证本地数据库应用程序是否打开了连接、执行了查询,并随后关闭了此连接。
For example, you might want to verify that a native database application opened a connection, executed a query, and then closed the connection.
虽然这看上去合乎逻辑,但是存在一个重要影响:如果由于某种原因关闭了数据库连接,那么也将关闭该数据库包含的所有数据库对象。
Although it may seem logical, this has an important effect: If a database connection is closed for some reason, any database objects that it contains are also closed.
最后,我们将检索sql语句的结果并关闭数据库连接。
Finally, we retrieve the results of our SQL statement and close the connection to the database.
在拨号之前,为避免数据丢失,请关闭所有使用这些连接的文件或在此项目的“网络协议”设置中不选IPX。
Before dialing, to avoid data loss, either close all files using these connections or uncheck IPX on this entry's Network Protocol Settings.
如果在获取对象之后关闭Hibernate会话和相关联的数据库连接,在访问关联之前没有恢复,那么就会发生这种错误。
This error can occur if the Hibernate session and associated database connection is closed after the object was retrieved, but before the association was accessed.
但是,为了关闭Derby,这个连接url不能包含任何对数据库名称的引用。
To shut down Derby, however, this connection URL must be devoid of any reference to a database name.
现在不需要到同一数据库的两个连接,因此可以使用disconnect;命令关闭当前连接。
You don't need two connections to the same database right now, so you can use the disconnect; command to close the current connection.
注意:关闭数据库连接的最佳时间取决于Web应用程序的特定业务逻辑。
Note: the optimal time to close the database connection will depend on the specific business logic of your Web application.
它以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.
如果没有它,XMLToSQL在执行一个操作前,将使用用户提供的数据库信息来创建JDBC连接,完成操作后,又会关闭连接。
Without this, XMLToSQL creates a JDBC connection using the user-provided database information before executing an action, and then closes the connection after execution.
在关闭该对话框之前,应单击test按钮,以检验是否输入了连接和使用IBMDB 2UDBSAMPLE数据库所需的正确信息。
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 2UDBSAMPLE数据库所需的正确信息。
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.
应用推荐