|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Simplifies access to a relational database from your Java code using SQL commands.
The Database 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 Database control in your application. You will
typically not use the others. The best way to use a Database 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://incubator.apache.org/beehive/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 class |
JdbcControl.SQLParameter
|
static interface |
JdbcControl.SQLRowSet
SQLx annotation definition. |
Nested classes inherited from class org.apache.beehive.controls.system.jdbc.JdbcControl |
org.apache.beehive.controls.system.jdbc.JdbcControl.ConnectionDataSource, org.apache.beehive.controls.system.jdbc.JdbcControl.ConnectionDriver, org.apache.beehive.controls.system.jdbc.JdbcControl.ConnectionOptions, org.apache.beehive.controls.system.jdbc.JdbcControl.FetchDirection, org.apache.beehive.controls.system.jdbc.JdbcControl.HoldabilityType, org.apache.beehive.controls.system.jdbc.JdbcControl.JndiContextFactory, org.apache.beehive.controls.system.jdbc.JdbcControl.ScrollType, org.apache.beehive.controls.system.jdbc.JdbcControl.SQL, org.apache.beehive.controls.system.jdbc.JdbcControl.TypeMapper, org.apache.beehive.controls.system.jdbc.JdbcControl.UndefinedIteratorType, org.apache.beehive.controls.system.jdbc.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 |
public void acceptChanges(RowSet r) throws SQLException, weblogic.jdbc.rowset.OptimisticConflictException
SQLException
weblogic.jdbc.rowset.OptimisticConflictException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |