16.13.3 Statement class

Table 16-24 lists limitations to the methods in the Connection class that are defined in the JDBC1.0 standard, while Table 16-25 lists limitations to the methods added in the JDBC2.0 basic standard.

Table 16-24 Limitations to the methods in the Statement class that are defined in the JDBC1.0 standard

Method defined in JDBC1.0 standardLimitation
setCursorNameNot usable (because positioned updating or deletion is not available).
getMaxFieldSizeReturns the value specified with setMaxFieldSize.
getMoreResultsUnconditionally returns false.
setMaxRowsNot usable.
setQueryTimeout

Table 16-25 Limitations to the methods in the Statement class that are added in the JDBC2.0 basic standard

Method added in JDBC2.0 basic standardLimitation
setFetchDirectionThrows SQLException if anything other than FETCH_FORWARD is specified.
getFetchSizeReturns the value specified with the setFetchSize method.