This is the WSO2 Data Services Server documentation version 2.6.3

Advanced Query Properties

Query properties help define additional features when querying from the database.

The Advanced Query Properties panel appears under query details when adding a new query. Follow the instructions in section Handling Data Service Queries to open the Add New Query page.

Available advanced query property details are described below.

Property Name

Description

Timeout

Sets a timeout for the underlying JDBC query.

Fetch Direction

Forward - rows in a result set will be processed in a forward direction; first-to-last.
Backward - the rows in a result set will be processed in reverse direction; last-to-first.

Fetch Size

The number of rows that should be fetched from the database when more rows are needed.
If the fetch size is zero, the JDBC driver ignores the value and is free to make its own best guess as to what the fetch size should be.

Max Field Size

Maximum data size for the field.
Used to reduce the size each field takes in order to eliminate the possibility of hitting a db limit.

Max Rows

Maximum number of rows to be returned. Zero means all rows.

Force Stored Procedure

Forces the current SQl statement as a stored procedure.

Force JDBC Batch Requests

Forces to use native JDBC batch request.