Package org.teiid.jdbc

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

Related Classes of org.teiid.jdbc.TeiidStatement

Copyright © 2018 www.massapicom. 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.