代码搜索:Connection
找到约 10,000 项符合「Connection」的源代码
代码结果 10,000
www.eeworm.com/read/229791/14316624
pas ididentserver.pas
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Qual
www.eeworm.com/read/229791/14316710
pas idsmtpserver.pas
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Qual
www.eeworm.com/read/127767/14336629
txt e237. connecting to a sqlserver database.txt
This example connects to a SQLServer database using the NetDirect JDBC driver. For information about this driver, see e232 Getting JDBC Drivers for a Database.
Connection connection = null;
www.eeworm.com/read/127767/14336757
txt e236. connecting to a mysql database.txt
This example connects to a MySQL database using the MM JDBC driver for MySQL. You need to have an account in MySQL database to run this example. To create an account, you can connect to MySQL database
www.eeworm.com/read/127767/14336781
txt e239. determining if a database supports transactions.txt
try {
DatabaseMetaData dmd = connection.getMetaData();
if (dmd.supportsTransactions()) {
// Transactions are supported
} else {
// Transactions are
www.eeworm.com/read/127767/14336838
txt e180. detecting when a non-blocking socket is closed by the remote host.txt
The only way to detect that the remote host has closed the connection is to attempt to read or write from the connection. If the remote host properly closed the connection, read() will return -1. If t
www.eeworm.com/read/127767/14337639
txt e281. calling a stored procedure in a database.txt
This example demonstrates how to call stored procedures with IN, OUT, and IN/OUT parameters.
CallableStatement cs;
try {
// Call a procedure with no parameters
cs = connecti