Hitachi

Hitachi Advanced Database Application Development Guide


8.2.24 isReadOnly()

Organization of this subsection

(1) Function

This method acquires a value indicating whether this Connection object is in read-only mode.

(2) Format

public synchronized boolean isReadOnly() throws SQLException

(3) Arguments

None.

(4) Return value

If this Connection object is in read-only mode, the method returns true; if not, the method returns false.

(5) Exceptions

If this Connection object is closed, the JDBC driver throws an SQLException.