db-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r843115 [31/44] - in /websites/production/db/content/derby: ./ binaries/ blogs/ blogs/images/ dev/ docs/ images/ integrate/ integrate/plugin_help/ integrate/plugin_help/images/ logo/ manuals/ papers/ papers/DerbyTut/ releases/ skin/ skin/cs...
Date Wed, 19 Dec 2012 18:20:28 GMT
Added: websites/production/db/content/derby/releases/release-10.2.2.0.html
==============================================================================
--- websites/production/db/content/derby/releases/release-10.2.2.0.html (added)
+++ websites/production/db/content/derby/releases/release-10.2.2.0.html Wed Dec 19 18:20:21 2012
@@ -0,0 +1,1123 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-skin-name" content="pelt">
+<meta name="generator" content="">
+<title>Apache Derby 10.2.2.0 Release</title>
+<link type="text/css" href="../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../skin/profile.css" rel="stylesheet">
+<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">apache</a> &gt; <a href="http://db.apache.org/">db</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+    |header
+    +-->
+<div class="header">
+<!--+
+    |start group logo
+    +-->
+<div class="grouplogo">
+<a href="http://db.apache.org/derby"><img class="logoImage" alt="Apache Derby" src="../images/derby-logo-web.png" title="Derby is a zero-admin Java RDBMS"></a>
+</div>
+<!--+
+    |end group logo
+    +-->
+<!--+
+    |start Project Logo
+    +-->
+<div class="projectlogoA1">
+<a href="http://db.apache.org"><img class="logoImage" alt="Apache DB Project" src="../images/db-logo-white.png" title="Apache DB creates and maintains database solutions."></a>
+</div>
+<!--+
+    |end Project Logo
+    +-->
+<!--+
+    |start Tabs
+    +-->
+<ul id="tabs">
+<li>
+<a class="unselected" href="../index.html">Home</a>
+</li>
+<li>
+<a class="unselected" href="../quick_start.html">Quick Start</a>
+</li>
+<li>
+<a class="unselected" href="../derby_downloads.html">Download</a>
+</li>
+<li>
+<a class="unselected" href="../derby_comm.html">Community</a>
+</li>
+<li>
+<a class="unselected" href="../manuals/index.html">Documentation</a>
+</li>
+<li>
+<a class="unselected" href="../blogs/index.html">Resources</a>
+</li>
+</ul>
+<!--+
+    |end Tabs
+    +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+    |start Subtabs
+    +-->
+<div id="level2tabs"></div>
+<!--+
+    |end Endtabs
+    +-->
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+
+             &nbsp;
+           </div>
+<!--+
+    |start Menu, mainarea
+    +-->
+<!--+
+    |start Menu
+    +-->
+<div id="menu">
+<div onclick="SwitchMenu('menu_1.1', '../skin/')" id="menu_1.1Title" class="menutitle">Home</div>
+<div id="menu_1.1" class="menuitemgroup">
+<div class="menuitem">
+<a href="../index.html">Apache Derby</a>
+</div>
+<div class="menuitem">
+<a href="../derby_charter.html">Charter</a>
+</div>
+<div class="menuitem">
+<a href="../license.html">License</a>
+</div>
+<div class="menuitem">
+<a href="../faq.html">FAQs</a>
+</div>
+<div class="menuitem">
+<a href="http://wiki.apache.org/db-derby/">Derby Wiki</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.2', '../skin/')" id="menu_1.2Title" class="menutitle">Quick Start</div>
+<div id="menu_1.2" class="menuitemgroup">
+<div class="menuitem">
+<a href="../quick_start.html">Quick Start</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.3', '../skin/')" id="menu_1.3Title" class="menutitle">Download</div>
+<div id="menu_1.3" class="menuitemgroup">
+<div class="menuitem">
+<a href="../derby_downloads.html">Overview</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.4', '../skin/')" id="menu_1.4Title" class="menutitle">Community</div>
+<div id="menu_1.4" class="menuitemgroup">
+<div class="menuitem">
+<a href="../derby_comm.html">Get Involved!</a>
+</div>
+<div class="menuitem">
+<a href="../derby_mail.html">Mailing Lists</a>
+</div>
+<div class="menuitem">
+<a href="../dev/derby_source.html">Source Code</a>
+</div>
+<div class="menuitem">
+<a href="../DerbyBugGuidelines.html">BUGS</a>
+</div>
+<div class="menuitem">
+<a href="../derby_tests.html">Tests</a>
+</div>
+<div class="menuitem">
+<a href="../logo.html">Logo</a>
+</div>
+<div class="menuitem">
+<a href="../papers/derby_web.html">Updating the web site</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.5', '../skin/')" id="menu_1.5Title" class="menutitle">Documentation</div>
+<div id="menu_1.5" class="menuitemgroup">
+<div class="menuitem">
+<a href="../manuals/index.html">Overview</a>
+</div>
+<div class="menuitem">
+<a href="../manuals/dita.html">DITA Source</a>
+</div>
+<div class="menuitem">
+<a href="../manuals/guidelines.html">Writing Guidelines</a>
+</div>
+<div class="menuitem">
+<a href="../manuals/messages.html">Documenting Messages</a>
+</div>
+<div class="menuitem">
+<a href="../manuals/docsfaq.html">Writing FAQs</a>
+</div>
+<div class="menuitem">
+<a href="../manuals/docscheck.html">Release Checklist</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.6', '../skin/')" id="menu_1.6Title" class="menutitle">Blogs and Articles About Derby</div>
+<div id="menu_1.6" class="menuitemgroup">
+<div class="menuitem">
+<a href="../blogs/index.html">Overview</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#blogs">Blogs</a>
+</div>
+<div onclick="SwitchMenu('menu_1.6.3', '../skin/')" id="menu_1.6.3Title" class="menutitle">Articles</div>
+<div id="menu_1.6.3" class="menuitemgroup">
+<div onclick="SwitchMenu('menu_1.6.3.1', '../skin/')" id="menu_1.6.3.1Title" class="menutitle">Tutorials, Tips and Tuning</div>
+<div id="menu_1.6.3.1" class="menuitemgroup">
+<div class="menuitem">
+<a href="../blogs/index.html#getstarted">Getting Started</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#features">Features, Hints and Tips</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#security">Security</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#performance">Performance and Tuning</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.6.3.2', '../skin/')" id="menu_1.6.3.2Title" class="menutitle">Tools and Migration</div>
+<div id="menu_1.6.3.2" class="menuitemgroup">
+<div class="menuitem">
+<a href="../blogs/index.html#tools">Tools</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#migration">Migration</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.6.3.3', '../skin/')" id="menu_1.6.3.3Title" class="menutitle">Applications</div>
+<div id="menu_1.6.3.3" class="menuitemgroup">
+<div class="menuitem">
+<a href="../blogs/index.html#client">Client</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#middletier">Middle Tier</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#persistence">Persistence</a>
+</div>
+<div class="menuitem">
+<a href="../blogs/index.html#scalability">Scalability and Failover</a>
+</div>
+</div>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.7', '../skin/')" id="menu_1.7Title" class="menutitle">Integration With Other Products</div>
+<div id="menu_1.7" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/index.html">Overview</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/index.html#uses">What works with Derby?</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/index.html#products">Product Writeups</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.8', '../skin/')" id="menu_1.8Title" class="menutitle">Eclipse Plug-ins</div>
+<div id="menu_1.8" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/derby_plugin_info.html">Info</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.9', '../skin/')" id="menu_1.9Title" class="menutitle">Papers and Presentations</div>
+<div id="menu_1.9" class="menuitemgroup">
+<div class="menuitem">
+<a href="../papers/index.html">Overview</a>
+</div>
+<div onclick="SwitchMenu('menu_1.9.2', '../skin/')" id="menu_1.9.2Title" class="menutitle">Derby Engine</div>
+<div id="menu_1.9.2" class="menuitemgroup">
+<div onclick="SwitchMenu('menu_1.9.2.1', '../skin/')" id="menu_1.9.2.1Title" class="menutitle">Javadoc</div>
+<div id="menu_1.9.2.1" class="menuitemgroup">
+<div class="menuitem">
+<a href="http://db.apache.org/derby/javadoc/engine">Engine</a>
+</div>
+<div class="menuitem">
+<a href="http://db.apache.org/derby/javadoc/language">Language</a>
+</div>
+<div class="menuitem">
+<a href="http://db.apache.org/derby/javadoc/tools">Tools</a>
+</div>
+<div class="menuitem">
+<a href="http://db.apache.org/derby/javadoc/publishedapi">API</a>
+</div>
+</div>
+<div class="menuitem">
+<a href="../papers/derby_arch.html">Architecture</a>
+</div>
+<div class="menuitem">
+<a href="../papers/btree_package.html">BTree</a>
+</div>
+<div class="menuitem">
+<a href="../papers/pageformats.html">Disk Page Format</a>
+</div>
+<div class="menuitem">
+<a href="../papers/derby_htw.html">How Things Work</a>
+</div>
+<div class="menuitem">
+<a href="../papers/Intersect-design.html">Intersect &amp; Except</a>
+</div>
+<div class="menuitem">
+<a href="../papers/JDBCImplementation.html">JDBC</a>
+</div>
+<div class="menuitem">
+<a href="../papers/logformats.html">Log Format</a>
+</div>
+<div class="menuitem">
+<a href="../papers/recovery.html">Logging &amp; Recovery</a>
+</div>
+<div class="menuitem">
+<a href="../papers/optimizer.html">Optimizer</a>
+</div>
+<div class="menuitem">
+<a href="http://db.apache.org/derby/javadoc/engine/org/apache/derby/iapi/types/package-summary.html#package_description">Type System</a>
+</div>
+<div class="menuitem">
+<a href="../papers/versionupgrade.html">Versioning</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.9.3', '../skin/')" id="menu_1.9.3Title" class="menutitle">Derby Network Client</div>
+<div id="menu_1.9.3" class="menuitemgroup">
+<div class="menuitem">
+<a href="../papers/DerbyClientSpec.html">Functional Spec</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.9.4', '../skin/')" id="menu_1.9.4Title" class="menutitle">Derby Tutorial</div>
+<div id="menu_1.9.4" class="menuitemgroup">
+<div class="menuitem">
+<a href="../papers/DerbyTut/index.html">Overview</a>
+</div>
+<div class="menuitem">
+<a href="../papers/DerbyTut/install_software.html">Step 1: Install Software</a>
+</div>
+<div class="menuitem">
+<a href="../papers/DerbyTut/ij_intro.html">Step 2: ij Basics</a>
+</div>
+<div class="menuitem">
+<a href="../papers/DerbyTut/embedded_intro.html">Step 3: Embedded Derby</a>
+</div>
+<div class="menuitem">
+<a href="../papers/DerbyTut/ns_intro.html">Step 4: Derby Network Server</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.9.5', '../skin/')" id="menu_1.9.5Title" class="menutitle">Presentations</div>
+<div id="menu_1.9.5" class="menuitemgroup">
+<div class="menuitem">
+<a href="../papers/ApacheCon.html">ApacheCon</a>
+</div>
+<div class="menuitem">
+<a href="../papers/MiscPresentations.html#Victorian+Java+User+Group">Victorian JUG 2008</a>
+</div>
+<div class="menuitem">
+<a href="../papers/MiscPresentations.html#OSCON+2005">OSCON 2005</a>
+</div>
+<div class="menuitem">
+<a href="../papers/MiscPresentations.html#Colorado+Software+Summit+2004">Colorado 2004</a>
+</div>
+</div>
+</div>
+<!--+
+    |start Search
+    +-->
+<div class="searchbox">
+<hr>
+<form action="http://www.google.com/search" method="get">
+<input value="db.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="18" name="q" id="query" type="text" value="Search the site with google">&nbsp; 
+                  <input name="Search" value="Search" type="submit">
+</form>
+</div>
+<!--+
+    |end search
+    +-->
+<div id="credit"></div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+  |alternative credits
+  +-->
+<div id="credit2"></div>
+</div>
+<!--+
+    |end Menu
+    +-->
+<!--+
+    |start content
+    +-->
+<div id="content">
+<div class="trail">Font size: 
+	          &nbsp;<input value="Reset" class="resetfont" title="Reset text" onclick="ndeSetTextSize('reset'); return false;" type="button">      
+	          &nbsp;<input value="-a" class="smallerfont" title="Shrink text" onclick="ndeSetTextSize('decr'); return false;" type="button">
+	          &nbsp;<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
+</div>
+<h1>Apache Derby 10.2.2.0 Release</h1>
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#Distributions">Distributions</a>
+</li>
+<li>
+<a href="#Release Overview">Release Overview</a>
+</li>
+<li>
+<a href="#New Features">New Features</a>
+</li>
+<li>
+<a href="#Bug Fixes">Bug Fixes</a>
+</li>
+<li>
+<a href="#Issues">Issues</a>
+<ul class="minitoc">
+<li>
+<a href="#DERBY-253">DERBY-253</a>
+</li>
+<li>
+<a href="#DERBY-668">DERBY-668</a>
+</li>
+<li>
+<a href="#DERBY-721">DERBY-721</a>
+</li>
+<li>
+<a href="#DERBY-781">DERBY-781</a>
+</li>
+<li>
+<a href="#DERBY-822">DERBY-822</a>
+</li>
+<li>
+<a href="#DERBY-1130">DERBY-1130</a>
+</li>
+<li>
+<a href="#DERBY-1295">DERBY-1295</a>
+</li>
+<li>
+<a href="#DERBY-1314">DERBY-1314</a>
+</li>
+<li>
+<a href="#DERBY-1323">DERBY-1323</a>
+</li>
+<li>
+<a href="#DERBY-1357">DERBY-1357</a>
+</li>
+<li>
+<a href="#DERBY-1384">DERBY-1384</a>
+</li>
+<li>
+<a href="#DERBY-1652">DERBY-1652</a>
+</li>
+<li>
+<a href="#DERBY-1867">DERBY-1867</a>
+</li>
+</ul>
+</li>
+<li>
+<a href="#Build Environment">Build Environment</a>
+</li>
+<li>
+<a href="#Testing">Testing</a>
+</li>
+<li>
+<a href="#Verifying+releases">Verifying releases</a>
+</li>
+</ul>
+</div>
+<a name="N10010"></a><a name="Distributions"></a>
+<h2 class="boxed">Distributions</h2>
+<div class="section">
+<p>Use the links below to download a distribution of Apache Derby from one of our mirrors. You should <strong>always</strong> <a href="#Verifying+releases">verify the integrity</a> of distribution files downloaded from a mirror.</p>
+<p>There are four different distributions:</p>
+<ul>
+<li>bin distribution - contains the documentation, javadoc, and jar files for Derby.</li>
+<li>lib distribution - contains only the jar files for Derby.</li>
+<li>lib-debug distribution - contains jar files for Derby with source line numbers.</li>
+<li>src distribution - contains the Derby source tree at the point which the binaries were built.</li>
+</ul>
+<p>
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.zip">db-derby-10.2.2.0-bin.zip</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.zip.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.zip.md5">MD5</a>]<br> 
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.tar.gz">db-derby-10.2.2.0-bin.tar.gz</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.tar.gz.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.tar.gz.md5">MD5</a>]</p>
+<p>
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib.zip">db-derby-10.2.2.0-lib.zip</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib.zip.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib.zip.md5">MD5</a>]<br> 
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib.tar.gz">db-derby-10.2.2.0-lib.tar.gz</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib.tar.gz.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib.tar.gz.md5">MD5</a>]</p>
+<p>
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib-debug.zip">db-derby-10.2.2.0-lib-debug.zip</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib-debug.zip.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib-debug.zip.md5">MD5</a>]<br> 
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib-debug.tar.gz">db-derby-10.2.2.0-lib-debug.tar.gz</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib-debug.tar.gz.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-lib-debug.tar.gz.md5">MD5</a>]</p>
+<p>
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-src.zip">db-derby-10.2.2.0-src.zip</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-src.zip.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-src.zip.md5">MD5</a>]<br> 
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-src.tar.gz">db-derby-10.2.2.0-src.tar.gz</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-src.tar.gz.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-src.tar.gz.md5">MD5</a>]</p>
+<p>There are two separate Eclipse plugins for Derby:</p>
+<ul>
+<li>derby_core_plugin - provides the Derby jar files to other plugins in Eclipse.</li>
+<li>derby_ui_plugin - provides an Apache Derby Nature in Eclipse for easy database application development.</li>
+</ul>
+<p>
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/derby_core_plugin_10.2.2.485682.zip">derby_core_plugin_10.2.2.485682.zip</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/derby_core_plugin_10.2.2.485682.zip.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/derby_core_plugin_10.2.2.485682.zip.md5">MD5</a>]<br> 
+<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/derby_ui_plugin_1.1.0.zip">derby_ui_plugin_1.1.0.zip</a> [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/derby_ui_plugin_1.1.0.zip.asc">PGP</a>] [<a class="external" href="http://archive.apache.org/dist/db/derby/db-derby-10.2.2.0/derby_ui_plugin_1.1.0.zip.md5">MD5</a>]</p>
+<p>Please note: both plugins must be installed for full functionality. For information on installing and using the Derby plugins for Eclipse, please see the <a href="http://db.apache.org/derby/integrate/plugin_howto.html">Using the 10.2 Core and 1.1 UI Derby plug-ins</a> page.</p>
+</div>
+<a name="N100BC"></a><a name="Release Overview"></a>
+<h2 class="boxed">Release Overview</h2>
+<div class="section">
+<p>These notes describe the difference between Derby release 10.2.2.0 and the preceding release, 10.2.1.6. 10.2.2.0 is a bug-fix release. It includes compiled versions of Derby's JDBC4 drivers, which appeared in the previous release only as source code. In addition, 10.2.2.0 includes a number of <a href="#Bug Fixes">bug fixes</a> not found in the previous release. No new features appear in 10.2.2.0.</p>
+<p>Derby is a pure Java relational database engine using standard SQL and JDBC as its APIs.</p>
+<p>Derby functionality includes:</p>
+<ul>
+<li>Embedded engine with JDBC drivers</li>
+<li>Network Server</li>
+<li>Network client JDBC drivers</li>
+<li>Command line tools: ij (SQL scripting), dblook (schema dump) and sysinfo (system info)</li>
+</ul>
+<p>SQL support:</p>
+<ul>
+<li>Schemas, tables, temporary tables, views, triggers, indexes, savepoints</li>
+<li>Java procedures and functions</li>
+<li>Standard datatypes including XML, BLOB, and CLOB</li>
+<li>Sub-queries and joins</li>
+<li>Primary key, foreign key, unique and check constraints</li>
+<li>Referential actions</li>
+<li>GRANT/REVOKE support for databases with SQL authorization.</li>
+</ul>
+<p>Other features:</p>
+<ul>
+<li>Full ACID transaction support with all four isolation levels</li>
+<li>Row and table level locking</li>
+<li>Configurable authentication including LDAP support</li>
+<li>Import/Export</li>
+<li>On-line backup and recovery support</li>
+<li>Optional on-disk encryption including re-encryption of existing encrypted databases</li>
+<li>Platform independent database format</li>
+<li>Full support for Java 2 Security Manager</li>
+</ul>
+<p>JDK/JDBC support:</p>
+<ul>
+<li>JDKs 1.3, 1.4, 1.5, and 1.6 plus J2ME J2ME/CDC/Foundation Profile</li>
+<li>JSR-169, JDBC 2.1, JDBC 3.0, and JDBC 4.0 support</li>
+</ul>
+</div>
+<a name="N10100"></a><a name="New Features"></a>
+<h2 class="boxed">New Features</h2>
+<div class="section">
+<p>Release 10.2.2.0 is a bug-fix release. No new features were added since 10.2.1.6.</p>
+</div>
+<a name="N10108"></a><a name="Bug Fixes"></a>
+<h2 class="boxed">Bug Fixes</h2>
+<div class="section">
+<p>The following bug fixes turn up in Derby 10.2.2.0 but not in the preceding 10.2.1.6 release.</p>
+<table class="ForrestTable" cellspacing="1" cellpadding="4" border="2">
+<tbody>
+<tr>
+<td><strong>Issue Id</strong></td><td><strong>Description</strong></td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-638">DERBY-638</a></td><td>Network driver setTransactionIsolation() causes a commit, but does not complete it locally</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-737">DERBY-737</a></td><td>SYSCS_UTIL.SYSCS_COMPRESS_TABLE should create statistics if they do not exist</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-912">DERBY-912</a></td><td>OutOfMemory error on continuous execution of SQL statement</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1089">DERBY-1089</a></td><td>Derby fails inserting a join into a table with a generated column</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1204">DERBY-1204</a></td><td>CREATE TRIGGER with an INSERT action statement with multiple rows and a referenced column throws a StringIndexOutOfBoundsException</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1231">DERBY-1231</a></td><td>LIKE does not match empty strings when used with a prepared statement</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1495">DERBY-1495</a></td><td>Attempt to modify an identity column error after resetting identity column</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1645">DERBY-1645</a></td><td>ALTER TABLE ... SET INCREMENT BY X... Turns off the "Generated By Default" identity column constraint</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1693">DERBY-1693</a></td><td>Out of Memory Error with derby.language.logStatementText=true</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1716">DERBY-1716</a></td><td>Revoking select privilege from a user times out when that user still have a cursor open.</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1732">DERBY-1732</a></td><td>The language and store systems treat a JVM error such as OutOfMemoryError differently leading to the raw store protocol violation errors</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1847">DERBY-1847</a></td><td>SELECT statement asserts with XJ001 when attempted to select a newly added column in SQL authorization mode</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1856">DERBY-1856</a></td><td>Multiple communication failures when starting server with derby.drda.timeSlice</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1894">DERBY-1894</a></td><td>SQLSTATE 42X10 occurs when qualifying a column with a synonym in ORDER BY clause</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1940">DERBY-1940</a></td><td>Removed Ease of Development API</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1967">DERBY-1967</a></td><td>UNION (ALL) constraint violation problem</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-1991">DERBY-1991</a></td><td>Misleading stack traces for exceptions raised by the JDBC 4.0 embedded driver</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-2008">DERBY-2008</a></td><td>NullPointerException with LTRIM, RTRIM and 2-argument SUBSTR() call in GROUP BY clause.</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-2014">DERBY-2014</a></td><td>NullPointerException with NULLIF in GROUP BY clause</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-2015">DERBY-2015</a></td><td>NullPointerException in INSERT ... SELECT with self-joined table and IDENTITY column</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-2030">DERBY-2030</a></td><td>'set schema sys' followed by 'show tables' does not show tables in sys schema</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-2084">DERBY-2084</a></td><td>getTransactionIsolation() in network client should not activate a transaction</td>
+</tr>
+<tr>
+<td><a class="external" href="http://issues.apache.org/jira/browse/DERBY-2131">DERBY-2131</a></td><td>External DTD files are accessed without a privileged block when Derby parses XML values that reference such DTDs.</td>
+</tr>
+</tbody>
+</table>
+</div>
+<a name="N101BB"></a><a name="Issues"></a>
+<h2 class="boxed">Issues</h2>
+<div class="section">
+<p>Applications which run against Derby 10.0 or 10.1 may rely on incorrect Derby behavior. After upgrading to 10.2, those applications may need some recoding so that they no longer rely on bad behavior which has been fixed. Please consult the following list of issues which may require some application recoding. Note that 10.2.2.0 does not introduce any additional issues beyond the issues introduced by 10.2.1.6:</p>
+<hr>
+<a name="N101C4"></a><a name="DERBY-253"></a>
+<h3 class="boxed">DERBY-253</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-253">DERBY-253</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>PreparedStatement.setUnicodeStream() and ResultSet.getUnicodeStream() throw SQLException when invoked after upgrading to Apache Derby 10.2.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Calling either of these methods will result in an exception with SQLSTATE 0A000 and message: "Feature not implemented: ..."</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>PreparedStatement.setUnicodeStream() and ResultSet.getUnicodeStream() have been deprecated since JDBC 2.0. Derby's implemetation of these methods was broken, and it was decided that the methods should throw a not-implemented exception instead of being fixed.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This was an intentional change. No Derby product solution is offered.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Use setCharacterStream() and getCharacterStream() instead of setUnicodeStream() and getUnicodeStream().</p>
+<hr>
+<a name="N101E8"></a><a name="DERBY-668"></a>
+<h3 class="boxed">DERBY-668</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-668">DERBY-668</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Sysinfo needs special permissions when run under a Java security manager.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>If you do not provide these permissions, you will see a message such as the following in your sysinfo output: Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read).</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Such a message does not indicate an error; it simply means that the sysinfo tool was unable to provide detailed classpath information because it did not have permission to read the classpath. In prior releases, under these circumstances, sysinfo would silently print nothing, now it prints an informational message about the reason that it couldn't provide any classpath information.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>The sysinfo tool now prints additional information about the origin of the classes and jars that it examines. The origin of a class might be: an entry in the application classpath, an entry in a class loader location list, a jar fetched due to being listed in the manifest entry of another jar, a standard extension in the JRE's extensions directory, a jar installed into the application server, or any of various other possibilities.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Grant these permissions so that sysinfo can run correctly under the Java security manager.</p>
+<hr>
+<a name="N1020C"></a><a name="DERBY-721"></a>
+<h3 class="boxed">DERBY-721</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-721">DERBY-721</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Behavior has changed for applications which open two InputStreams on the same ResultSet column.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Undefined results were returned to an application which opened an InputStream twice on the same column of a ResultSet. The value siphoned out of the column was erratic.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Streams were being shared between the two readers.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>Now we throw an exception if the application tries to open two streams on the same column in a ResultSet.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Users must recode Applications which open multiple streams on the same column.</p>
+<hr>
+<a name="N10230"></a><a name="DERBY-781"></a>
+<h3 class="boxed">DERBY-781</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-781">DERBY-781</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Compilation times may increase for queries which have subqueries in the FROM clause.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Execution performance of queries containing non-flattenable subqueries may change. The expectation is that the new (10.2) query plans will show improved performance over the old ones.</p>
+<p>Another potential symptom is that the compilation time for such queries may increase. If this happens, the increase should only occur at compilation time; execution time should either improve or, at the very least, remain the same as in earlier versions of Derby.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>If the optimizer chooses to do a hash join with a subquery, Derby only has to execute the subquery a single time per statement, after which Derby can just perform the desired join against the materialized result set. Depending on how many rows are in the outer table of the join, this once-per-statement execution of the subquery can lead to major performance improvements over the once-per-outer-row execution employed by earlier versions of Derby.</p>
+<p>As for the extra compilation time, this is due to the simple fact that the optimizer is now doing more work--i.e. in addition to considering nested loop joins with subqueries, it is now _also_ considering hash joins with those subqueries, and that means that it could potentially take longer for the optimizer to finish its work. Note again that, if it occurs, the increased time should only occur at compilation time; execution time should either improve or, at the very least, remain the same as in earlier versions of Derby.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This was an intentional change to improve the execution plans chosen by the optimizer for queries having large and/or complex subqueries. The expectation is that the new behavior--and the subsequent query plans--will lead to improved performance over the old ones, so no further solution is required.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>There is no way to disable/workaround this new behavior. The increased compilation time buys better performance at query execution time.</p>
+<p>That said, any user who notices a negative performance change after moving to Derby 10.2, and who believes that the difference in performance is related to this optimizer enhancement, is encouraged to visit the <a class="external" href="http://wiki.apache.org/db-derby/PerformanceDiagnosisTips">performance diagnosis page</a> and to follow up with his/her findings on the Derby mailing lists.</p>
+<hr>
+<a name="N1025E"></a><a name="DERBY-822"></a>
+<h3 class="boxed">DERBY-822</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-822">DERBY-822</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Queries may fail earlier and locks may be acquired earlier when executing queries. Location where errors occur in an embedded environment is different from the location where errors occur in a network environment.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Errors that happen as part of the normal execution path are moved earlier. For example, code to execute a query, with executeQuery() retrieve the result set metadata and then perform a next() might fail with a lock timeout on executeQuery() instead of next(). Locking changes are observed.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Pre-fetching moves execution of retrieval of data earlier for network client/server configurations.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This was an intentional behavior change to improve performance. No Derby product solution is offered.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Application code needs to be changed to adjust error handling if needed.</p>
+<hr>
+<a name="N10282"></a><a name="DERBY-1130"></a>
+<h3 class="boxed">DERBY-1130</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1130">DERBY-1130</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>When using Derby's client DataSources, you can no longer set the database name using setConnectionAttributes().</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Derby's client DataSources were using a wrong database name when getting a connection in the following case:</p>
+<ul>
+<li>databaseName is not set as a Derby DataSource property</li>
+<li>databaseName is set as a connection attribute using setConnectionAttributes method</li>
+</ul>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Instead of throwing an exception saying databaseName is a required Derby DataSource property and must be set, client driver was using "null" as database name and returning a connection to database named "null". The database name was constructed wrongly in the client driver.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This was solved by setting the internal database name property in the client driver correctly. Also ensured that databaseName set as a connection attribute will not be used by Derby's client DataSources.. This fix will be available in Derby versions 10.2 and above.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>When upgrading an application to run against Derby 10.2, make sure the database name is set only as a DataSource property when using Derby's client DataSources.</p>
+<hr>
+<a name="N102AB"></a><a name="DERBY-1295"></a>
+<h3 class="boxed">DERBY-1295</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1295">DERBY-1295</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Result sets of type TYPE_SCROLL_INSENSITIVE no longer implicitly close when positioned at the end in autocommit mode.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Calling the ResultSet.next() method when positioned on the last row of a result set of type SCROLL_INSENSITIVE in auto commit mode used to cause the result set to be closed.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>The JDBC specification allows a JDBC driver to implicitly close a ResultSet when the ResultSet type is TYPE_FORWARD_ONLY and the next method of ResultSet returns false. Derby also used to implicitly close result sets of type SCROLL_INSENSITIVE when the ResultSet.next() method returns false in auto commit mode.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>The behavior of SCROLL_INSENSITIVE result sets in auto commit mode has been changed to comply with the JDBC4 specification. SCROLL_INSENSITIVE result sets are not implicitly closed when calling the ResultSet.next() method in auto commit mode while positioned on the last row.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Fix applications which rely on the previous, non-standard behavior.</p>
+<hr>
+<a name="N102CF"></a><a name="DERBY-1314"></a>
+<h3 class="boxed">DERBY-1314</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1314">DERBY-1314</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>The return values of executeQuery() and executeUpdate() have changed for the Derby network client.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>The behaviour of executeQuery() and executeUpdate() did not match the JDBC specification when invoking stored procedures.</p>
+<ul>
+<li>When invoking a stored procedure with executeQuery() or executeUpdate(), an exception was thrown indicating that the procedure did not return the correct number of ResultSet objects, although the correct number of ResultSet objects was in fact returned.</li>
+<li>When invoking a stored procedure with executeQuery() or executeUpdate(), and the procedure did not return the correct number of ResultSet objects, the query executed successfully.</li>
+<li>With the network client driver, when invoking a stored procedure with executeUpdate(), the return value was -1, whereas the JDBC specification says it should be 0.</li>
+</ul>
+<p>
+<strong>Cause</strong>
+</p>
+<p>The methods executeQuery() and executeUpdate() were not implemented in compliance with the JDBC specification.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>In Derby 10.2, the behaviour of the methods executeQuery() and executeUpdate() has been changed to match the JDBC specification.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Use execute() instead of executeUpdate()/executeQuery() to invoke a stored procedure which does not return exactly 0 or 1 ResultSet objects.</p>
+<hr>
+<a name="N102FA"></a><a name="DERBY-1323"></a>
+<h3 class="boxed">DERBY-1323</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1323">DERBY-1323</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Calls to rowUpdated(), rowDeleted(), and rowInserted() now forbidden on unpositioned, forward-only ResultSets.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>For a JDBC ResultSet with type TYPE_FORWARD_ONLY, the methods rowUpdated, rowDeleted and rowInserted could previously be called while not on a row, i.e. before positioning in the result set, while on insertRow, after updateRow before new positioning, after deleteRow before new positioning and when after last row. This is now disallowed.</p>
+<p>Calls to any of these methods while not on a row will now throw SQLException with SQLState 24000.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Derby now disallows these calls when not on a row.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>Change the application to not call these methods unless on a row. Note that using them at all is rather meaningless for a ResultSet of type TYPE_FORWARD_ONLY since the returned result will always be 'false'. This is because once you modify a row, it can no longer be accessed, you need to move to the next row, if there is one, to get a new current row. Presently in Derby, these methods are only really meaningfully used for result sets of type TYPE_SCROLL_INSENSITIVE and of concurrency CONCUR_UPDATABLE in which case updated and deleted rows can be detected.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Fix applications which rely on this non-standard behavior.</p>
+<hr>
+<a name="N10320"></a><a name="DERBY-1357"></a>
+<h3 class="boxed">DERBY-1357</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1357">DERBY-1357</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Performance may change for queries with nested subqueries and/or large FROM clauses.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Execution performance of large queries (esp. those with nested subqueries and/or with large FROM clauses) may change. The expectation is that the new (10.2) query plans will show improved performance over the old ones.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Since the optimizer is now spending less time evaluating sub-optimal join orders, it is possible that it will be able to try out more join orders before optimizer "timeout" occurs. As a result the optimizer can sometimes find better plans than it did in earlier versions of Derby.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This was an intentional change to fix behavior that was not working correctly in earlier versions of Derby. The expectation is that the new behavior--and the subsequent query plans--will lead to improved performance over the old ones, so no further solution is required.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>In general, the performance of these queries should stay the same or improve. However, it is possible that performance may degrade for some queries. Any user who notices a negative performance change after moving to Derby 10.2, and who believes that the difference in performance is related to this optimizer change, is encouraged to visit the <a class="external" href="http://wiki.apache.org/db-derby/PerformanceDiagnosisTips">performance diagnosis page</a> and to follow up with his/her findings on the Derby mailing lists.</p>
+<hr>
+<a name="N10348"></a><a name="DERBY-1384"></a>
+<h3 class="boxed">DERBY-1384</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1384">DERBY-1384</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Maximum BLOB/CLOB length has increased to 2G-1.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Previously, Derby rejected BLOB lengths greater than 1M.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>The allowable size of Derby LOBs has been increased.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This was an intentional change to make Derby conform to its own documentation.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>Fix applications which rely on Derby rejecting LOBs that are bigger than 1M.</p>
+<hr>
+<a name="N1036C"></a><a name="DERBY-1652"></a>
+<h3 class="boxed">DERBY-1652</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1652">DERBY-1652</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>Recursive trigger firing disallowed.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>In some cases, an after update trigger does not get fired upon itself when its trigger action contains an update statement on the trigger's subject table.</p>
+<p>(1) When defining a trigger for the first time for a table, e.g.:</p>
+<pre>  
+        CREATE TABLE "TEST" ("TESTID" INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1),
+                             "INFO" INTEGER NOT NULL,
+                             "TIMESTAMP" TIMESTAMP NOT NULL DEFAULT '1980-01-01-00.00.00.000000');
+    
+        CREATE TRIGGER UPDATE_TEST
+        AFTER UPDATE ON TEST
+        REFERENCING OLD AS OLD
+        FOR EACH ROW MODE DB2SQL
+            UPDATE TEST SET TIMESTAMP = CURRENT_TIMESTAMP WHERE TESTID = OLD.TESTID;
+  
+        INSERT INTO TEST (INFO) VALUES (1), (2), (3);
+
+        UPDATE TEST SET INFO = 1 WHERE TESTID = 2;
+</pre>
+<p>The above update statement executes successfully which it is incorrect. The system should have issued SQLSTATE 54038 since it self-triggers to its maximum depth of 16.</p>
+<p>(2) With the above example, when an user upgrades to a higher version and issues the same update statement:</p>
+<pre>        UPDATE TEST SET INFO = 1 WHERE TESTID = 2;
+        ERROR 54038: Maximum depth of nested triggers was exceeded.
+</pre>
+<p>The SQLSTATE 54038 is issued in this case because after database upgrade, the trigger action will be invalidated by the system and will force a recompilation of the trigger when it is fired. The system generates the correct execution plan this time and since the trigger behavior have changed, this might cause applications to break unexpectedly.</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Derby did not generate the correct execution plan for self-trigger invocation when such a trigger is declared for the first time on the subject table; hence, resulting in the stated problem above. The affected version is Derby 10.0 and 10.1.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>This behavior has been corrected in 10.2.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>If self-trigger invocation was not intended by the application, the application can select which column(s) on the update statement can cause the trigger to fire in the CREATE TRIGGER statement. i.e.:</p>
+<pre>   CREATE TRIGGER update_test
+   AFTER UPDATE OF INFO ON test
+   REFERENCING OLD AS old
+   FOR EACH ROW MODE DB2SQL
+       UPDATE test SET timestamp=current_timestamp WHERE testid=old.testid;
+</pre>
+<p>In the above statement, the trigger will only fire when an update is made to the "info" column instead of any column(s).</p>
+<hr>
+<a name="N103A0"></a><a name="DERBY-1867"></a>
+<h3 class="boxed">DERBY-1867</h3>
+<p>See <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1867">DERBY-1867</a>.</p>
+<p>
+<strong>Problem</strong>
+</p>
+<p>With IBM 1.4.1 JVM, trying to connect to the server using the derby client with security mechanism 8 (USRSSSBPWD) will result in error.</p>
+<p>
+<strong>Symptoms</strong>
+</p>
+<p>Connecting using the client driver with security mechanism 8 will throw the following error ERROR XJ112: Security exception encountered, see next exception for details. The stack trace will show that the problem is caused by java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available</p>
+<p>
+<strong>Cause</strong>
+</p>
+<p>Current USRSSBPWD implementation uses SHA1PRNG algorithm to generate random number(seed) that gets exchanged between client and the server. The SHA1PRNG algorithm is not available with the JCE provider that comes with IBM JVM version 1.4.1.</p>
+<p>
+<strong>Solution</strong>
+</p>
+<p>You must use another JCE provider.</p>
+<p>
+<strong>Workaround</strong>
+</p>
+<p>If you need to use the security mechanism 8, then make sure that support for SHA1PRNG is available in the JCE provider that is available with a particular JVM. For e.g. Use IBM 1.4.2 JVM that has support for SHA1PRNG or the Sun JVMs.</p>
+</div>
+<a name="N103C3"></a><a name="Build Environment"></a>
+<h2 class="boxed">Build Environment</h2>
+<div class="section">
+<p>Derby release 10.2.2.0 was built using the following environment:</p>
+<ul>
+<li>
+<strong>Branch</strong> - Source code came from the 10.2 branch.</li>
+<li>
+<strong>Machine</strong> - SunOS 5.11 snv_48.</li>
+<li>
+<strong>Ant</strong> - Apache Ant version 1.6.5 compiled on June 2 2005.</li>
+<li>
+<strong>JDK 1.3</strong> - Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_19-b03).</li>
+<li>
+<strong>JDK 1.4</strong> - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03).</li>
+<li>
+<strong>JDK 1.6</strong> - Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-b105).</li>
+<li>
+<strong>OSGi</strong> - The osgi.jar was used to build org.apache.derby.osgi.EmbeddedActivator.</li>
+<li>
+<strong>Compiler</strong> - The 1.4.2_12-b03 javac was used to compile all classes except for the JDBC4 drivers. The JDBC4 driver classes were compiled using the 1.6.0-b105 javac.</li>
+<li>
+<strong>JSR 169</strong> - J2ME support was built using java.sun.com/j2me (j2me_cdc_fp-1_0_2).</li>
+</ul>
+</div>
+<a name="N103F0"></a><a name="Testing"></a>
+<h2 class="boxed">Testing</h2>
+<div class="section">
+<p>Tests were run on the following platforms. Results are listed separately for each platform.</p>
+<a class="external" href="http://dbtg.thresher.com/derby/test/10.2.2.0_RC/jvm1.6/testing/Limited/testSummary-485682.html"></a>
+<table class="ForrestTable" cellspacing="1" cellpadding="4">
+<tr>
+<td>Type test</td><td>platform, jvm version</td><td>by:</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>Solaris 10 x86 machine using Sun's JDK 1.5.0_07</td><td>John Embretsen</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>SunOS 5.11 snv_48 using Sun 1.4.2_12-b03 and 1.6.0-b105</td><td>Rick Hillegas</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>Ubuntu 5.10 on i386 using JDK 1.5.0_06 and 1.6.0</td><td>Bernt Johnsen</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>SLES 10 - Kernel 2.6.16.21-0.25-bigsmp (0) and IBM15 (SR3) and IBM 142 (SR7)</td><td>Rajesh Kartha</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>RHEL 4.0 - Kernel 2.6.9-42.0.3.ELsmp and IBM142 (SR7)</td><td>Rajesh Kartha</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>AIX 5.3 with IBM15(SR3), AIX 5.3 with IBM142(SR5), zOS with IBM15(SR3), zOS with IBM142(SR5)</td><td>Manjula Kutty</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>Windows XP Pro</td><td>Yip Ng</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>HP-UX v1.11 i with HPs SDK 1.5.0.03</td><td>Vemund Ostgaard</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>Ubuntu 6.06 (Linux)</td><td>Olav Sandstaa</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>Extensive platform testing. See <a class="external" href="http://wiki.apache.org/db-derby/TenTwoPlatformTesting">10.2 Platform Testing</a>.</td><td>Henri van de Scheur</td>
+</tr>
+<tr>
+<td>derbyall suite</td><td>Solaris 10 x86 machine using Sun's JDK 1.5</td><td>Dag Wanvik</td>
+</tr>
+<tr>
+<td>Compatibility tests</td><td>-</td><td>Ole Solberg</td>
+</tr>
+<tr>
+<td>Distribution contents verified</td><td>-</td><td>Andrew McIntyre</td>
+</tr>
+<tr>
+<td>Eclipse plugins on eclipse 3.2.1, embedded and client jdbc drivers</td><td>-</td><td>Jean Andersen</td>
+</tr>
+<tr>
+<td>index.html links verified</td><td>-</td><td>Rick Hillegas</td>
+</tr>
+<tr>
+<td>Large data volume tests</td><td>See <a class="external" href="http://dbtg.thresher.com/derby/test/10.2.2.0_RC/AdditionalTests.html">Additional Tests</a></td><td>Ole Solberg</td>
+</tr>
+<tr>
+<td>Long-running DOTS test</td><td>olaris 10 x86 machine using Sun's JDK 1.5.0_07</td><td>John Embretsen</td>
+</tr>
+<tr>
+<td>Long-running tests</td><td>-</td><td>Rajesh Kartha</td>
+</tr>
+<tr>
+<td>ODBC tests</td><td>DB2 Runtime Client (v8)</td><td>Army Brown</td>
+</tr>
+<tr>
+<td></td>
+</tr>
+<tr>
+<td>Order entry benchmark</td><td>Order entry benchmark (see derby-1987) for a scale of 10 using bulk insert on RedHat linux/ibm142</td><td>Sunitha Kambhampati</td>
+</tr>
+<tr>
+<td>Scripts verified</td><td>Windows, Linux</td><td>Rajesh Kartha</td>
+</tr>
+<tr>
+<td>Signatures verified</td><td>-</td><td>Andrew McIntyre</td>
+</tr>
+<tr>
+<td>XMLSuite</td><td>IBM142</td><td>Army Brown</td>
+</tr>
+</table>
+<p>Several test issues were reported, such as <a class="external" href="http://issues.apache.org/jira/browse/DERBY-937">DERBY-937</a>(1.5), <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1585">DERBY-1585</a>(1.5, 1.6), <a class="external" href="http://issues.apache.org/jira/browse/DERBY-1947">DERBY-1947</a>, <a class="external" href="http://issues.apache.org/jira/browse/DERBY-2177">DERBY-2177</a>, <a class="external" href="http://issues.apache.org/jira/browse/DERBY-2178">DERBY-2178</a>, <a class="external" href="http://issues.apache.org/jira/browse/DERBY-2180">DERBY-2180</a>, However, none of these issues was considered a blocker for the release.</p>
+<p>Tests for a specific platform can be run using the derbyTesting.jar file that can be found in the lib directory of the -lib or -bin distributions.</p>
+<p>Instructions on how to run the tests can be found in the <a class="external" href="http://svn.apache.org/repos/asf/db/derby/code/branches/10.2/java/testing/README.htm">testing README</a>.</p>
+</div>
+<a name="N104CC"></a><a name="Verifying+releases"></a>
+<h2 class="boxed">Verifying releases</h2>
+<div class="section">
+<p>It is essential that you verify the integrity of the downloaded files using the PGP and MD5 signatures. MD5 verification ensures the file was not corrupted during the download process. PGP verification ensures that the file came from a certain person.</p>
+<p>The PGP signatures can be verified using <a class="external" href="http://www.pgpi.org/">PGP</a> or <a class="external" href="http://www.gnupg.org/">GPG</a>. First download the Apache Derby <a class="external" href="http://www.apache.org/dist/db/derby/KEYS">KEYS</a> as well as the <span class="codefrag">asc</span> signature file for the particular distribution. It is important that you get these files from the ultimate trusted source - the main ASF distribution site, rather than from a mirror. Then verify the signatures using ...</p>
+<pre>% pgpk -a KEYS
+% pgpv db-derby-X.Y.tar.gz.asc
+
+<em>or</em>
+
+% pgp -ka KEYS
+% pgp db-derby-X.Y.tar.gz.asc
+
+<em>or</em>
+
+% gpg --import KEYS
+% gpg --verify db-derby-X.Y.tar.gz.asc
+
+</pre>
+<p>To verify the MD5 signature on the files, you need to use a program called <span class="codefrag">md5</span> or <span class="codefrag">md5sum</span>, which is included in many unix distributions. It is also available as part of <a class="external" href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>. Windows users can get binary md5 programs from <a class="external" href="http://www.fourmilab.ch/md5/">here</a>, <a class="external" href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or <a class="external" href="http://www.slavasoft.com/fsum/">here</a>.</p>
+<p>We strongly recommend you verify your downloads with both PGP and MD5.</p>
+</div>
+</div>
+<!--+
+    |end content
+    +-->
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+<!--+
+    |start bottomstrip
+    +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<div class="copyright">
+        Copyright &copy;
+         2004-2012 Apache Software Foundation</div>
+<div id="feedback">
+    Send feedback about the website to:
+  <a id="feedbackto" href="mailto:derby-user@db.apache.org?subject=Feedback%C2%A0releases/release-10.2.2.0.html">derby-user@db.apache.org</a>
+</div>
+<!--+
+    |end bottomstrip
+    +-->
+</div>
+</body>
+</html>



Mime
View raw message