All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.samples.daps.sql.DDL

java.lang.Object
   |
   +----com.ibm.beans.samples.daps.sql.Common
           |
           +----com.ibm.beans.samples.daps.sql.Statement
                   |
                   +----com.ibm.beans.samples.daps.sql.DDL

public class DDL
extends Statement
The DDL class is instantiated to represent a single SQL DDL statement.

To use the DDL bean, do the following:

  1. Create an instance of the bean.
  2. Fill in the bean's properties (described below or in superclass):
  3. Bind an existing Connection bean's JDBCConnection property to this bean's JDBCConnection property. This will cause execution of the connect() method on the Connection bean to also set the JDBCConnection property on this bean.
  4. Use the execute() method to execute the statement. The execute() method uses all the above properties to perform execution of the DDL statement. The execute() method sets values and fires property change events for the following properties on completion:
  5. Use the close() method to relinquish the statement's resources. The close() method sets values and fires property change events for the following properties on completion:

See Also:
DDLBeanInfo

Constructor Index

 o DDL()
Default constructor.

Method Index

 o finalize()
Finalize this object.

Constructors

 o DDL
 public DDL()
Default constructor.

Methods

 o finalize
 protected void finalize() throws Throwable
Finalize this object.

Throws: Throwable
Possibly thrown by the superclass.
Overrides:
finalize in class Statement

All Packages  Class Hierarchy  This Package  Previous  Next  Index