ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/microjdbcme.htm

94 lines
5.8 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="reference" />
<meta name="DC.Title" content="JdbcMe classes" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<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="microjdbcme" />
<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>JdbcMe classes</title>
</head>
<body id="microjdbcme"><a name="microjdbcme"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">JdbcMe classes</h1>
<div><p></p>
<div class="section"><p>The ToolboxME for iSeries™ classes provide JDBC support,
including <a href="#microjdbcme__sql">support for the java.sql package</a>.
The classes are meant to be used in a program that runs on a <a href="microconcept.htm#microconcept__tier0">Tier
0 device</a>.</p>
<p>The following sections discuss <a href="#microjdbcme__accessing">accessing
and using data</a> and describe <a href="#microjdbcme__jdbcmecontents">what
is in JdbcMe</a>, including links to information about the individual <a href="#microjdbcme__jdbcmeclasses">JdbcMe classes</a>.</p>
</div>
<div class="section" id="microjdbcme__accessing"><a name="microjdbcme__accessing"><!-- --></a><h4 class="sectiontitle">Accessing and using data</h4><p>When using
a Tier0 device to access and update data, you want it to work exactly like
if you were sitting at a system in your office. However, much of the development
in Tier0 devices focuses on data synchronization. Using data synchronization,
each Tier0 device has a copy of specific data from the main database. Periodically,
users synchronize the data on each device with the main database.</p>
<p>Data
synchronization does not work well with data that is dynamic. Working with
dynamic data requires quick access to up-to-date data. Having to wait to
access synchronized data is not an option for many businesses. Plus, the software
and hardware demands for the servers and devices to main synchronous data
can be significant.</p>
<p>To help solve the problems inherent in the data
synchronization model, the JdbcMe classes in ToolboxME for iSeries enable
you to perform live updates and access the main database, but still allow
offline data storage. Your application can have access to valuable offline
data without sacrificing the ability for to have live updates immediately
become part of the main database. This middle ground approach provides the
benefits of both the synchronous data model and the live data model.</p>
</div>
<div class="section" id="microjdbcme__jdbcmecontents"><a name="microjdbcme__jdbcmecontents"><!-- --></a><h4 class="sectiontitle">What is in JdbcMe</h4><p>By definition,
a driver of any kind for a <a href="microconcept.htm#microconcept__tier0">Tier0
device</a> must be very small. The JDBC API, however, is very large. The
JdbcMe classes had to be extremely small but still support enough of the
JDBC interfaces so that Tier0 devices might use it to perform meaningful work.</p>
<p>JdbcMe
classes offer the following JDBC functionality:</p>
<ul><li>The ability to insert or update data</li>
<li>Transaction control and the ability to modify transaction isolation levels</li>
<li>Result sets that are both scrollable and updatable</li>
<li>SQL support for calls to stored procedures and drive triggers</li>
</ul>
<p>In addition, JdbcMe classes include some unique features:</p>
<ul><li>A universal driver that enables the majority of the configuration details
to be consolidated at a single point on the server side</li>
<li>A standard mechanism for persisting data to offline storage</li>
</ul>
<p id="microjdbcme__jdbcmeclasses"><a name="microjdbcme__jdbcmeclasses"><!-- --></a>JdbcMe includes the following classes:</p>
<ul><li><a href="microjdbcmecon.htm#microjdbcmecon">JdbcMeConnection</a></li>
<li><a href="microjdbcmedrvr.htm#microjdbcmedrvr">JdbcMeDriver</a></li>
<li><a href="javadoc/com/ibm/as400/micro/JdbcMeException.html">JdbcMeException</a></li>
<li><a href="microjdbcmelivers.htm#microjdbcmelivers">JdbcMeLiveResultSet</a></li>
<li><a href="microjdbcmeoffdata.htm#microjdbcmeoffdata">JdbcMeOfflineData</a></li>
<li> <a href="microjdbcmelivers.htm#microjdbcmelivers__offline">JdbcMeOfflineResultSet</a></li>
<li> <a href="microjdbcmelivers.htm#microjdbcmelivers__jdbcresultsetmeta">JdbcMeResultSetMetaData</a></li>
<li><a href="microjdbcmest.htm#microjdbcmest">JdbcMeStatement</a> </li>
</ul>
<p id="microjdbcme__sql"><a name="microjdbcme__sql"><!-- --></a>ToolboxME for iSeries provides a java.sql package that
follows the JDBC specification but contains only the smallest set of useful
classes and methods. Providing a minimal set of sql function allows the JdbcMe
classes to be small in size yet useful enough to perform common JDBC tasks.</p>
</div>
</div>
</body>
</html>