73 lines
6.2 KiB
HTML
73 lines
6.2 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="concept" />
|
|
<meta name="DC.Title" content="DB2CachedRowSet" />
|
|
<meta name="abstract" content="The DB2CachedRowSet object is a disconnected RowSet, meaning that it can be used without being connected to the database. Its implementation adheres closely to the description of a CachedRowSet. The DB2CachedRowSet is a container for rows of data from a ResultSet. The DB2CachedRowSet holds all its own data so it does not need to maintain a connection to the database other than explicitly while reading or writing data to the database." />
|
|
<meta name="description" content="The DB2CachedRowSet object is a disconnected RowSet, meaning that it can be used without being connected to the database. Its implementation adheres closely to the description of a CachedRowSet. The DB2CachedRowSet is a container for rows of data from a ResultSet. The DB2CachedRowSet holds all its own data so it does not need to maintain a connection to the database other than explicitly while reading or writing data to the database." />
|
|
<meta name="DC.Relation" scheme="URI" content="rowsetty.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rsetchar.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="db2jdbcr.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="db2cause.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="crdb2cac.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="accdb2ca.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="chgdb2ca.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="db2cafea.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="db2cache" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>DB2CachedRowSet</title>
|
|
</head>
|
|
<body id="db2cache"><a name="db2cache"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">DB2CachedRowSet</h1>
|
|
<div><p>The DB2CachedRowSet object is a disconnected RowSet, meaning that
|
|
it can be used without being connected to the database. Its implementation
|
|
adheres closely to the description of a CachedRowSet. The DB2CachedRowSet
|
|
is a container for rows of data from a ResultSet. The DB2CachedRowSet holds
|
|
all its own data so it does not need to maintain a connection to the database
|
|
other than explicitly while reading or writing data to the database.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="db2cause.htm">Use DB2CachedRowSet</a></strong><br />
|
|
Because the DB2CachedRowSet object can be disconnected and serialized, it is useful in environments where it is not always practical to run a full JDBC driver (for example, on Personal Digital Assistants (PDAs) and Java-enabled cell phones).</li>
|
|
<li class="ulchildlink"><strong><a href="crdb2cac.htm">Create and populate a DB2CachedRowSet</a></strong><br />
|
|
There are several ways to place data into a DB2CachedRowSet.</li>
|
|
<li class="ulchildlink"><strong><a href="accdb2ca.htm">Access DB2CachedRowSet data and cursor manipulation</a></strong><br />
|
|
This topic provides information about accessing DB2CachedRowSet data and various cursor manipulation functions.</li>
|
|
<li class="ulchildlink"><strong><a href="chgdb2ca.htm">Change DB2CachedRowSet data and reflect changes back to the data source</a></strong><br />
|
|
This topic provides information about making changes to rows in a DB2CachedRowSet and then updating the underlying database.</li>
|
|
<li class="ulchildlink"><strong><a href="db2cafea.htm">Other DB2CachedRowSet features</a></strong><br />
|
|
In addition to working like a ResultSet as several examples have
|
|
shown, the DB2CachedRowSet class has some additional functionality that makes
|
|
it more flexible to use. Methods are provided for turning either the entire Java™ Database
|
|
Connectivity (JDBC) RowSet or just a portion of it into a Java™ collection.
|
|
Moreover, because of their disconnected nature, DB2CachedRowSets do not have
|
|
a strict one-to-one relationship with ResultSets.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rowsetty.htm" title="RowSets were originally added to the Java Database Connectivity (JDBC) 2.0 Optional Package. Unlike some of the better-known interfaces of the JDBC specification, the RowSet specification is designed to be more of a framework than an actual implementation. The RowSet interfaces define a set of core functionality that all RowSets have. RowSet implementation providers have considerable freedom to define the functionality that is needed to fit their needs in a specific problem space.">RowSets</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rsetchar.htm" title="You can request certain properties to be satisfied by the rowsets. Common properties include the set of interfaces to be supported by the resulting rowset.">RowSet characteristics</a></div>
|
|
<div><a href="db2jdbcr.htm" title="The DB2JdbcRowSet is a connected RowSet, meaning that it can only be used with the support of an underlying Connection object, PreparedStatement object, or ResultSet object. Its implementation adheres closely to the description of a JdbcRowSet.">DB2JdbcRowSet</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |