可打印版本       提交     
请单击以进行评分并提供反馈

  开启低带宽视图
同时提供下列产品的其他版本:
SQLServerConnection Class

Represents a JDBC connection to a Microsoft SQL Server database.

Package: com.microsoft.sqlserver.jdbc

Extends: com.microsoft.sqlserver.jdbc.IOBuffer

Implements: java.sql.Connection, java.io.Serializable

public class SQLServerConnection

The SQLServerConnection class supports JDBC connection pooling and can be either a physical JDBC connection or a logical JDBC connection. The SQLServerConnection class manages transaction control for all statements that were created from it, and it can participate in XA distributed transactions managed via a XAResource adapter.

SQLServerConnection manages a pool of prepared statement handles. Prepared statements are prepared once and are typically run many times with different data values for their parameters. Prepared statements are also maintained across logical (pooled) connection closes.

注意注意:

SQLServerConnection is not thread safe. However, multiple statements that are created from a single connection can be processed simultaneously in concurrent threads.

© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker