private ResultSet executeQuery(String query) throws SQLException {
  if (m_stmt == null)   m_stmt=m_conn.createStatement();
  long timein=System.currentTimeMillis();
  s_logger.info("Issuing query: " + query);
  ResultSet rset=m_stmt.executeQuery(query);
  long time=System.currentTimeMillis() - timein;
  s_logger.info("External query processing completed: " + (time / 1000) + "."+ (time % 1000)+ " seconds.");
  return rset;
}

private ResultSet executeQuery ( String query ) throws SQLException { if ( m_stmt == null ) m_stmt = m_conn . createStatement ( ) ; long timein = System . currentTimeMillis ( ) ; s_logger . info ( "Issuing query: " + query ) ; ResultSet rset = m_stmt . executeQuery ( query ) ; long time = System . currentTimeMillis ( ) - timein ; s_logger . info ( "External query processing completed: " + ( time / 1000 ) + "." + ( time % 1000 ) + " seconds." ) ; return rset ; }
execute a query and return the corresponding result set
