public abstract boolean isCloseOnCompletion () throws SQLException

Returns a value indicating whether this Statement will be closed when all its dependent result sets are closed.

Returns:  true if the Statement will be closed when all of its dependent result sets are closed; false otherwise

Exceptions:
SQLException    if this method is called on a closed Statement

Since:  1.7