SQLExecutionProvider
Identifier:
org.eclipse.wst.rdb.server.ui.SQLExecutionProvider
Since:
[Enter the first release in which this extension point appears.]
Description:
This extension-point can be used to provide code which will execute a SQL statement when a SQL script is being executed. This can be particularly useful if there is a CALL statement in a script which needs to be executed is a specific way with, for example, special error handling.
Usage:
The extension class must implement the
org.eclipse.wst.rdb.server.internal.ui.query.execute.ISQLExecutionProvider
interface. The interface includes two methods: one to indicate whether the extension-point can execute a specific SQL statement and the second to actually execute the SQL statement. If the first method returns true then the second method will be called to execute the SQL statement.
Configuration Markup:
<!ELEMENT provider EMPTY>
<!ATTLIST provider
class CDATA #REQUIRED
vendor CDATA #REQUIRED
version CDATA #REQUIRED>
- class - The class must implement the
org.eclipse.wst.rdb.server.internal.ui.query.execute.ISQLExecutionProvider
interface.
- vendor - Vendor ID: 'product' attribute. The same as the
vendor returned from the Database object by the getVendor()
method. Specify '*' to indicate all vendors.
- version - Version ID: 'version' attribute. The same as the
version returned from the Database object by the getVersion()
method. Specify '*' to indicate all versions.
Examples:
[Enter extension point usage example here.]
API Information:
[Enter API information here.]
Supplied Implementation:
[Enter information about supplied implementation of this extension point.]