|
|
|
|
|
|
|
|
|
Throws “invalid method call” exception for PreparedStatement and CallableStatement.
|
|
|
|
|
The DB2 driver cancels the execution of the statement with DB2 V8.x and higher for Linux/UNIX/Windows and DB2 V8.1 and higher for z/OS. If the statement is cancelled by the database server, the driver throws an exception indicating that it was cancelled. The DB2 driver throws an "unsupported method" exception with other DB2 versions.
The Informix, Progess OpenEdge, and Salesforce drivers throw an "unsupported method" exception.
The Oracle, SQL Server, and Sybase drivers cancel the execution of the statement. If the statement is cancelled by the database server, the driver throws an exception indicating that it was cancelled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Throws "invalid method call" exception for PreparedStatement and CallableStatement.
|
|
|
|
|
|
|
|
|
|
Supported for the Oracle and SQL Server drivers. For all other drivers, throws "unsupported method" exception.
|
|
|
|
|
Supported for the Oracle and SQL Server drivers. For all other drivers, throws "unsupported method" exception.
|
|
|
|
|
|
|
|
|
|
Throws "invalid method call" exception for PreparedStatement and CallableStatement.
|
|
|
|
|
Throws "invalid method call" exception for PreparedStatement and CallableStatement.
|
|
|
|
|
|
|
|
|
|
Supported for the Oracle and SQL Server drivers. For all other drivers, throws "unsupported method" exception.
|
|
|
|
|
Supported for the Oracle and SQL Server drivers. For all other drivers, throws "unsupported method" exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The DB2, SQL Server, and Sybase drivers return the last value inserted into an identity column. If an identity column does not exist in the table, the drivers return an empty result set.
The Informix driver returns the last value inserted into a Serial or Serial8 column. If a Serial or Serial8 column does not exist in the table, the driver returns an empty result set.
The Oracle driver returns the ROWID of the last row that was inserted.
The Salesforce driver returns the ID of the last row that was inserted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The DB2 driver returns the timeout value, in seconds, set for the statement with DB2 V8.x and higher for Linux/UNIX/Windows and DB2 V8.1 and higher for z/OS. The DB2 driver returns 0 with other DB2 versions.
The Informix and Progress OpenEdge drivers return 0.
The Oracle, SQL Server, and Sybase drivers return the timeout value, in seconds, set for the statement.
The Salesforce driver returns an “unsupported method” exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Throws "unsupported method" exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The DB2 driver supports setting a timeout value, in seconds, for a statement with DB2 V8.x and higher for Linux/UNIX/Windows and DB2 V8.1 and higher for z/OS. If the execution of the statement exceeds the timeout value, the statement is timed out by the database server, and the driver throws an exception indicating that the statement was timed out. The DB2 driver throws an "unsupported method" exception with other DB2 versions.
The Informix driver throws an "unsupported method" exception.
The Oracle, Progress OpenEdge, SQL Server, and Sybase drivers support setting a timeout value, in seconds, for a statement. If the execution of the statement exceeds the timeout value, the statement is timed out by the database server, and the driver throws an exception indicating that the statement was timed out.
The Salesforce driver ignores any value set using this method. Use the WSTimeout connection property to set a timeout.
|
|
|
|
|
|