Differences using the Connection.setReadOnly method

In embedded mode, when the Connection.setReadOnly method has true as the parameter, the connection is marked as a read-only connection. When you use the 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
Differences in JDBC methods