8.2.23 isClosed()
- Organization of this subsection
(1) Function
This method returns a value indicating whether this Connection object is closed.
The HADB server connection is closed when the close method is called or when a specific fatal error has occurred. This method is guaranteed to return true only when it is executed after a close method.
This method cannot be used to determine whether the HADB server connection is valid.
(2) Format
public synchronized boolean isClosed() throws SQLException
(3) Arguments
None.
(4) Return value
If this Connection object is closed, the method returns true; if not, the method returns false.
(5) Exceptions
None.