Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: Clob(java.sql.Clob clob) throws java.sql.SQLException
        internal Clob(java.sql.Clob clob)
        {
            long length = clob.length();

            if (length >= 0)
            {
                value = clob.getSubString(1, (int)length);
            }
        }
Exemple #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public long position(java.sql.Clob searchstr, long start) throws java.sql.SQLException
        public virtual long position(java.sql.Clob searchstr, long start)
        {
            return(position(searchstr.getSubString(1, (int)searchstr.length()), start--));
        }