Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.db.panels.sql.tester
Class SQLQueryTester

java.lang.Object
  extended by oracle.ide.db.panels.sql.tester.SQLQueryTester

public class SQLQueryTester
extends java.lang.Object

Utility that pops up a dialog for testing a sql query. The query checked against a chosen database connection, and optional components are registered for offering "Explain Plan" and "Results" tabs as well.

Since:
11.1.1.2.0

Constructor Summary
SQLQueryTester(Database db)
           
 
Method Summary
static void registerComponent(java.lang.Class<? extends TesterComponent> clz)
          Deprecated. use the trigger hook <database-hook>, specifically the <sql-tester-components> element.
 void setSQLText(java.lang.String txt)
          Deprecated. 
 void showDialog(java.awt.Component owner, java.lang.String sqlText)
          Shows the tester dialog with the given owner component, to test the given query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLQueryTester

public SQLQueryTester(Database db)
Method Detail

showDialog

public void showDialog(java.awt.Component owner,
                       java.lang.String sqlText)
Shows the tester dialog with the given owner component, to test the given query.

Parameters:
owner - the component (e.g. Button) that is firing the tester
sqlText - the query to test

setSQLText

@Deprecated
public void setSQLText(java.lang.String txt)
Deprecated. 

Changes the query that is being tested in the current dialog

Parameters:
txt - the new query text

registerComponent

@Deprecated
public static void registerComponent(java.lang.Class<? extends TesterComponent> clz)
Deprecated. use the trigger hook <database-hook>, specifically the <sql-tester-components> element.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.