com.bea.control
Interface JdbcControl

All Superinterfaces:
JdbcControl

public interface JdbcControl
extends JdbcControl

Simplifies access to a relational database from your Java code using SQL commands. The Jdbc control handles the work of connecting to the database, which makes it simpler to use than JDBC.

Note that only one of the methods of this interface (acceptChanges) is visible in Design View for a Jdbc control in your application. You will typically not use the others. The best way to use a Jdbc control is to add it to your design, then add to the control methods that capture the specific SQL expressions you want to execute against the database. Tasks such as getting a database connection are handled for you as you use the control.

This JdbcControl extends the org.apache.beehive.controls.system.jdbc.JdbcControl. For more information regarding this control please visit api docs for the system controls on the Apache Beehive site, which is currently at http://beehive.apache.org/docs/1.0m1/apidocs/classref_systemcontrols. This URL is likely to change.


Nested Class Summary
static interface JdbcControl.ClassXsd
          ClassXsd annotation definition.
static class JdbcControl.CommandType
          CommandType Enumeration.
static class JdbcControl.SQLFragment
          SQLFragment.
static interface JdbcControl.SQLRowSet
          SQLx annotation definition.
 
Nested classes/interfaces inherited from interface org.apache.beehive.controls.system.jdbc.JdbcControl
JdbcControl.ConnectionDataSource, JdbcControl.ConnectionDriver, JdbcControl.ConnectionOptions, JdbcControl.FetchDirection, JdbcControl.HoldabilityType, JdbcControl.JndiContextFactory, JdbcControl.ScrollType, JdbcControl.SQL, JdbcControl.SQLParameter, JdbcControl.TypeMapper, JdbcControl.UndefinedIteratorType, JdbcControl.UndefinedResultSetMapper
 
Field Summary
 
Fields inherited from interface org.apache.beehive.controls.system.jdbc.JdbcControl
DEFAULT_FETCH_SIZE, MAXROWS_ALL
 
Method Summary
 void acceptChanges(RowSet r)
          Wrapper for RowSet.acceptChanges().
 
Methods inherited from interface org.apache.beehive.controls.system.jdbc.JdbcControl
getConnection, getDataSourceCalendar, setDataSourceCalendar
 

Method Detail

acceptChanges

void acceptChanges(RowSet r)
                   throws SQLException,
                          weblogic.jdbc.rowset.OptimisticConflictException
Wrapper for RowSet.acceptChanges().

Throws:
SQLException
weblogic.jdbc.rowset.OptimisticConflictException