Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.66 KB

File metadata and controls

46 lines (37 loc) · 1.66 KB
title getSelectMethod Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.reviewer
ms.suite
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerDataSource.getSelectMethod
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid b6255d2e-0028-474a-afa8-553ef092243e
caps.latest.revision 10
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

getSelectMethod Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Returns the default cursor type used for all result sets that are created by using this SQLServerDataSource object.

Syntax

  
public java.lang.String getSelectMethod()  

Return Value

A String value that contains the default cursor type.

Remarks

The selectMethod property specifies the default cursor type that is used for a result set. This property is useful when you are dealing with large result sets and do not want to store the entire result set in memory on the client side. By setting the property to "cursor," you can create a server-side cursor that can fetch smaller chunks of data at a time. If the selectMethod property is not set, getSelectMethod returns the default value of "direct".

See Also

SQLServerDataSource Members
SQLServerDataSource Class