isReadOnly()
Syntax:
boolean isReadOnly() throws SQLException
Description:
Retrieves whether this Connection
object is in read-only mode.
Returns:
true if this Connection
object is read-only; false otherwise
Throws:
SQLException - if a database access error occurs
Reference:
For more information, reference JDBC documentation for: Connection.isReadOnly()