Differences using the Connection.setReadOnly method

In the embedded mode, when the Connection.setReadOnly method has true as the parameter, the connection is marked as a read-only connection. When using a Network Server, the Connection.setReadOnly(true) method is ignored and the connection is not marked as a read-only connection.

Related concepts
Differences between the embedded client and the network client driver
Updatable Result Sets
User authentication differences
Related reference
Error message differences