use of com.teradata.jaqy.connection.JaqyParameterMetaData in project jaqy by Teradata.
the class DebugManager method dumpPreparedStatement.
public void dumpPreparedStatement(Display display, Session session, JaqyPreparedStatement stmt, JaqyInterpreter interpreter) {
if (m_dumpPreparedStatement) {
try {
JaqyParameterMetaData metaData = stmt.getParameterMetaData();
ParameterMetaDataUtils.dump(display, session, metaData);
} catch (SQLException ex) {
display.getGlobals().log(Level.INFO, ex);
}
try {
JaqyResultSet rs = stmt.getResultSet(interpreter);
if (rs != null)
ResultSetMetaDataUtils.dump(display, session, rs.getMetaData());
} catch (SQLException ex) {
display.getGlobals().log(Level.INFO, ex);
}
}
}
Aggregations