Condividi tramite


SQLServerResultSet Class

Represents a JDBC result set.

Package: com.microsoft.sqlserver.jdbc

Extends: java.lang.Object

Implements: java.sql.ResultSet

public final class SQLServerResultSet

Osservazioni

There are two types of result sets: client-side and server-side.

Client-side result sets are used when the results can fit in the client process memory. These results provide the fastest performance and are read by Microsoft SQL Server 2005 JDBC Driver in their entirety from the database. These result sets do not impose additional load on the database by incurring the overhead of creating server-side cursors. However, these types of result sets are not updatable.

Server-side result sets can be used when the results do not fit in the client process memory or when the result set is to be updatable. With this type of result set, the JDBC driver creates a server-side cursor and fetches rows of the result set transparently as the user scrolls through it.

The SQLServerResultSet class provides many methods to let you update the result set with any native Java datatype and many Java object types.

Vedere anche

Concetti

SQLServerResultSet Members
JDBC Driver API Reference