Examples of TeiidStatement


Examples of org.teiid.jdbc.TeiidStatement

  protected void getPlanInfo(Statement s) {
    if (s == null) {
      return;
    }
    TeiidStatement ts;
    try {
      ts = s.unwrap(TeiidStatement.class);
    } catch (SQLException e) {
      throw new RuntimeException(e);
    }
    plan = ts.getPlanDescription();
    annotations = ts.getAnnotations();
    debugLog = ts.getDebugLog();
    try {
      warnings = ts.getWarnings();
    } catch (SQLException e) {
      LOG.log(Level.WARNING, "Caught exception getting warnings: " + e, e);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.