protected void clearErrors()
 {
     _exception    = null;
     _errorMessage = null;
     _errorCode    = 0;
     _warnings     = null;
 }
示例#2
0
        protected internal sealed override void OnSqlWarning(SQLWarning warning)
        {
            OleDbErrorCollection col = new OleDbErrorCollection(warning, this);

            OnOleDbInfoMessage(new OleDbInfoMessageEventArgs(col));
        }
示例#3
0
        protected sealed override void OnSqlWarning(SQLWarning warning)
        {
            OracleErrorCollection col = new OracleErrorCollection(warning, this);

            OnOracleInfoMessage(new OracleInfoMessageEventArgs(col));
        }
        // since WS also does not permits dynamically change of login timeout and tomcat does no implements - do not do it at all
        //ds.setLoginTimeout(ConnectionTimeout);

        protected internal abstract void OnSqlWarning(SQLWarning warning);
 /**
  * Set the current SQL warnings.
  *
  * @param warnings the new SQL warnings
  */
 protected void setWarnings(SQLWarning warnings)
 {
     _warnings = warnings;
 }