code: @Override
      public int doStartTag() throws JspException {
  
          if (!maxRowsSpecified) {
  	    Object obj = Config.find(pageContext, Config.SQL_MAX_ROWS);
  	    if (obj != null) {
  		if (obj instanceof Integer) {
  		    maxRows = ((Integer) obj).intValue();
  		} else if (obj instanceof String) {
  		    try {
  			maxRows = Integer.parseInt((String) obj);
  		    } catch (NumberFormatException nfe) {
                          throw new JspException(Resources.getMessage("SQL_MAXROWS_PARSE_ERROR",
  						 (String) obj),
  			    nfe);
  		    }
  		} else {
                      throw new JspException(Resources.getMessage("SQL_MAXROWS_INVALID"));
  		}
              }
          }
  
  	try {
  	    conn = getConnection();
  	} catch (SQLException e) {
  	    throw new JspException(sql + ": " + e.getMessage(), e);
  	}
  
  	return EVAL_BODY_BUFFERED;
      }
docs: Prepares for execution by setting the initial state, such as
  getting the <code>Connection</code>