public InputStream getBinaryStream(final long pos, final long length) 
        throws SQLException {

        synchronized (this) {
            if (this.underlying == null) {
                if (pos > 1) {
                    throw new SQLException("Invalid position: " + pos);
                } // end of if

                return NO_DATA;
            } // end of if

            // ---

            return  this.underlying.getBinaryStream(pos, length);
        } // end of sync
    }
public InputStream getBinaryStream ( final long pos , final long length ) throws SQLException { synchronized ( this ) { if ( this . underlying == null ) { if ( pos > 1 ) { throw new SQLException ( "Invalid position: " + pos ) ; } return NO_DATA ; } return this . underlying . getBinaryStream ( pos , length ) ; } }
{@inheritDoc}