Platforms to show: All Mac Windows Linux Cross-Platform

Back to JavaStatementMBS class.

Previous items

JavaStatementMBS.NO_GENERATED_KEYS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constant indicating that generated keys should not be made available for retrieval.

JavaStatementMBS.QueryTimeout as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The number of seconds the driver will wait for a Statement object to execute. If the limit is exceeded, a SQLException is thrown.

Returns:
the current query timeout limit in seconds; zero means there is no limit
(Read and Write computed property)

JavaStatementMBS.RETURN_GENERATED_KEYS as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constant indicating that generated keys should be made available for retrieval.

JavaStatementMBS.setCursorName(name as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the SQL cursor name to the given String, which will be used by subsequent Statement object execute methods.

This name can then be used in SQL positioned update or delete statements to identify the current row in the ResultSet object generated by this statement. If the database does not support positioned update/delete, this method is a noop. To insure that a cursor has the proper isolation level to support updates, the cursor's SELECT statement should have the form SELECT FOR UPDATE. If FOR UPDATE is not present, positioned updates may fail.
Note: By definition, the execution of positioned updates and deletes must be done by a different Statement object than the one that generated the ResultSet object being used for positioning. Also, cursor names must be unique within a connection.

Parameters:
name - the new cursor name, which must be unique within a connection

JavaStatementMBS.SUCCESS_NO_INFO as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constant indicating that a batch statement executed successfully but that no count of the number of rows it affected is available.

Previous items

The items on this page are in the following plugins: MBS Java Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...