Chapter 5
Using JDBC/ODBC Operations
eInsight Operations
SelectMultiple
SelectOne
Insert
Update
Delete
JDBC eWay Database Operations (JCD)
5.2
The same database operations are also used in the JCD, but appear as methods to call
from the Collaboration.
Tables, Views, and Stored Procedures are manipulated through OTDs. Methods to call
include:
insert()
insertRow()
update(String sWhere)
updateRow()
delete(String sWhere)
deleteRow()
select(String where)
The ability to perform any of the above methods using a table OTD may not be possible
with all third-party drivers. You have to use a Prepared Statement to perform such an
JDBC/ODBC eWay Adapter User's Guide
Table 13 JDBC.ODBC Operations (Continued)
Activity Input
number of rows
where() clause (optional)
where() clause (optional)
definition of new item to be inserted
where() clause
where() clause
JDBC eWay Database Operations (JCD)
Returns the number of rows
specified that fit the condition
of the where() clause, and the
number of rows to be
returned.
For example: If the number of
rows that meet the condition
are 5 and the number of
available rows are 10, then
only 5 rows will be returned.
Alternately, if the number of
rows that meet the condition
are 20, but if the number of
available rows are 10, then
only 10 rows are returned.
Returns the first row that fits
the condition of the where()
clause.
Returns status.
Returns status.
Returns status.
59
Section 5.2
Activity Output
Sun Microsytems, Inc.
Need help?
Do you have a question about the eWay JDBC/ODBC Adapter and is the answer not in the manual?
Questions and answers