BEA Systems, Inc.

BEA WebLogic Server Support for Apache Beehive


com.bea.control
Interface JdbcControl


public interface 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.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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.
 
Method Summary
 void acceptChanges(RowSet r)
          Wrapper for RowSet.acceptChanges().
 

Method Detail

acceptChanges

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

Throws:
SQLException
weblogic.jdbc.rowset.OptimisticConflictException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.