getSelectMethod Method (SQLServerDataSource)

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

public java.lang.String getSelectMethod()

返回值

A String value that contains the default cursor type.

备注

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".

另请参见

参考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members