/// <summary> /// Truncates the <c>CLOB</c> value that this <c>IClob</c> designates /// to have a length of <c>len</c> characters. /// </summary> /// <param name="length"> /// The length, in characters, to which the <c>CLOB</c> value should /// be truncated. /// </param> /// <exception cref="HsqlDataSourceException"> /// If there is an error accessing the <c>CLOB</c> value. /// </exception> void IClob.Truncate(long length) { lock (this) { CheckFree(); try { m_clob.truncate(length); } catch (java.sql.SQLException se) { throw new HsqlDataSourceException(se); } catch (java.lang.Exception e) { throw new HsqlDataSourceException(e.toString(), e); } } }