Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

setSelectMethod Method (SQLServerDataSource)

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

public void setSelectMethod(java.lang.String selectMethod)


A String value that contains the default cursor type.

The selectMethod is 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 whole 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".

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.