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:
- Create an instance of the bean.
- Fill in the bean's properties (described below or in superclass):
- executeInBackground
- SQLText
- 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.
- 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:
- 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
-
DDL()
- Default constructor.
-
finalize()
- Finalize this object.
DDL
public DDL()
- Default constructor.
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