EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #299 background imageLoading...
Page #299 background image
positioned UPDATE and DELETE operations in an SQLJ application for
information on performing a positioned UPDATE or positioned DELETE
operation in SQLJ.
You need to implement sqlj.runtime.Scrollable when you declare a
scrollable iterator. See Use scrollable iterators in an SQLJ application for
information on scrollable iterators.
Related tasks
“Performing positioned UPDATE and DELETE operations in an SQLJ
application” on page 114
“Using scrollable iterators in an SQLJ application” on page 130
Related reference
“SQLJ connection-declaration-clause” on page 285
SQLJ with-clause
The with clause specifies a set of one or more attributes for an iterator or a
connection context.
Syntax
 with
,
( with-element )

with-element:

holdability=true
holdability=false
sensitivity=ASENSITIVE
sensitivity=INSENSITIVE
sensitivity=SENSITIVE
dynamic=false
, dynamic=true
,
updateColumns= column-name
Java-ID=Java-constant-expression
dataSource= logical-datasource-name

Description
holdability
For an iterator, specifies whether an iterator keeps its position in a table after a
COMMIT is executed. The value for holdability must be true or false.
sensitivity
For an iterator, specifies whether changes that are made to the underlying table
can be visible to the iterator after it is opened. The value must be
INSENSITIVE, SENSITIVE, or ASENSITIVE. The default is ASENSITIVE.
For connections to IBM Informix Dynamic Server (IDS), only INSENSITIVE is
supported.
dynamic
For an iterator that is defined with sensitivity=SENSITIVE, specifies whether
the following cases are true:
Chapter 7. JDBC and SQLJ reference information 283

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability