setReadOnly(boolean readOnly)
Syntax:
void setReadOnly(boolean readOnly) throws SQLException
Description:
Puts this connection in read-only mode as a hint to the driver to enable database optimizations.
Note: RaimaDB does not support changing to or from read-only mode once the connection is established. Read-only mode must be specified at the time the RDMConnection object is created via the connection URL.
Parameters:
readOnly
true enables read-only mode; false disables it
Throws:
SQLException - if a database access error occurs
Reference:
For more information, reference JDBC documentation for: Connection.setReadOnly(boolean)