Skip to content

Commit

Permalink
2.3.232
Browse files Browse the repository at this point in the history
  • Loading branch information
andreitokar committed Aug 10, 2024
1 parent 9117f8a commit c0f8763
Show file tree
Hide file tree
Showing 180 changed files with 2,187 additions and 631 deletions.
24 changes: 20 additions & 4 deletions html/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down Expand Up @@ -1623,12 +1623,16 @@ <h2 id="uuid">Universally Unique Identifiers (UUID)</h2>
<p>
This database supports UUIDs. Also supported is a function to create new UUIDs using
a cryptographically strong pseudo random number generator.
</p>
<p>
With random UUIDs, the chance of two having the same value can be calculated
using the probability theory. See also 'Birthday Paradox'.
Standardized randomly generated UUIDs have 122 random bits.
</p>
<p>
RFC 9562-compliant randomly generated UUIDs with version 4 have 122 random bits.
4 bits are used for the version (Randomly generated UUID), and 2 bits for the variant (Leach-Salz).
This database supports generating such UUIDs using the built-in function
<code class="notranslate">RANDOM_UUID()</code> or <code class="notranslate">UUID()</code>.
This database supports generating such UUIDs using the built-in function <code class="notranslate">RANDOM_UUID(4)</code>.
Please note that indexes on UUIDs with this version may have a poor performance.
Here is a small program to estimate the probability of having two identical UUIDs
after generating a number of values:
</p>
Expand Down Expand Up @@ -1661,6 +1665,18 @@ <h2 id="uuid">Universally Unique Identifiers (UUID)</h2>
that means the probability is about 0.000'000'000'06.
</p>

<p>
RFC 9562-compliant time-ordered UUIDs with version 7 have layout optimized for database systems.
They contain 48-bit number of milliseconds seconds since midnight 1 Jan 1970 UTC with leap seconds excluded
and additional 12-bit sub-millisecond timestamp fraction plus 62 random bits or 74 random bits without this fraction
depending on implementation.
</p>
<p>
This database supports generating such UUIDs using the built-in function <code class="notranslate">RANDOM_UUID(7)</code>.
This function produces 12-bit sub-millisecond timestamp fraction if high resolution timestamps are available in JVM
and 62 pseudo random bits.
</p>

<h2 id="spatial_features">Spatial Features</h2>
<p>
H2 supports the geometry data type and spatial indexes.
Expand Down
2 changes: 1 addition & 1 deletion html/architecture.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down
4 changes: 2 additions & 2 deletions html/build.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down Expand Up @@ -192,7 +192,7 @@ <h3>Using a Central Repository</h3>
&lt;dependency&gt;
&lt;groupId&gt;com.h2database&lt;/groupId&gt;
&lt;artifactId&gt;h2&lt;/artifactId&gt;
&lt;version&gt;2.3.230&lt;/version&gt;
&lt;version&gt;2.3.232&lt;/version&gt;
&lt;/dependency&gt;
</pre>
<p>
Expand Down
83 changes: 25 additions & 58 deletions html/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down Expand Up @@ -122,8 +122,32 @@ <h2>Next Version (unreleased)</h2>
</li>
</ul>

<h2>Version 2.3.232 (2024-08-11)</h2>
<ul>
<li><a href="https://github.com/h2database/h2database/issues/4005">Issue #4005</a>: Add optional version to RANDOM_UUID function and generator of version 7 in addition to existing version 4
</li>
<li><a href="https://github.com/h2database/h2database/issues/3945">Issue #3945</a>: Column not found in correlated subquery, when referencing outer column from LEFT JOIN .. ON clause
</li>
<li><a href="https://github.com/h2database/h2database/issues/4097">Issue #4097</a>: StackOverflowException when using multiple SELECT statements in one query (2.3.230)
</li>
<li><a href="https://github.com/h2database/h2database/issues/3982">Issue #3982</a>: Potential issue when using ROUND
</li>
<li><a href="https://github.com/h2database/h2database/issues/3894">Issue #3894</a>: Race condition causing stale data in query last result cache
</li>
<li><a href="https://github.com/h2database/h2database/issues/4075">Issue #4075</a>: infinite loop in compact
</li>
<li><a href="https://github.com/h2database/h2database/issues/4091">Issue #4091</a>: Wrong case with linked table to postgresql
</li>
<li><a href="https://github.com/h2database/h2database/issues/4088">Issue #4088</a>: BadGrammarException when the same alias is used within two different CTEs
</li>
<li><a href="https://github.com/h2database/h2database/issues/4079">Issue #4079</a>: [2.3.230] Regression in ORDER BY ... DESC on dates
</li>
</ul>

<h2>Version 2.3.230 (2024-07-15)</h2>
<ul>
<li><a href="https://github.com/h2database/h2database/issues/4091">Issue #4091</a>: Wrong case with linked table to postgresql
</li>
<li><a href="https://github.com/h2database/h2database/issues/2752">Issue #2752</a>: Fix for "double mark" error at database backup opening
</li>
<li><a href="https://github.com/h2database/h2database/issues/4052">Issue #4052</a>: Allow 0 as a valid chunk id
Expand Down Expand Up @@ -535,63 +559,6 @@ <h2>Version 2.0.206 (2022-01-04)</h2>
</li>
</ul>

<h2>Version 2.0.204 (2021-12-21)</h2>
<ul>
<li><a href="https://github.com/h2database/h2database/issues/3291">Issue #3291</a>: Add Legacy and Strict modes
</li>
<li><a href="https://github.com/h2database/h2database/issues/3287">Issue #3287</a>: SELECT statement works on 1.4.200 but fails on 2.0.202 with "Column XYZ must be in the GROUP BY list"
</li>
<li><a href="https://github.com/h2database/h2database/pull/3284">PR #3284</a>: Remove unused UNDO_LOG setting
</li>
<li><a href="https://github.com/h2database/h2database/issues/3251">Issue #3251</a>: Table with GEOMETRY column can't have a TriggerAdapter-based trigger any more
</li>
<li><a href="https://github.com/h2database/h2database/pull/3281">PR #3281</a>: DateTimeFormatter-based FORMATDATETIME and PARSEDATETIME and other changes
</li>
<li><a href="https://github.com/h2database/h2database/issues/3246">Issue #3246</a>: Spatial predicates with comparison are broken in MySQL compatibility mode
</li>
<li><a href="https://github.com/h2database/h2database/issues/3270">Issue #3270</a>: org.h2.jdbc.JdbcSQLFeatureNotSupportedException: Feature not supported: "Unsafe comparison or cast"
</li>
<li><a href="https://github.com/h2database/h2database/issues/3268">Issue #3268</a> / <a href="https://github.com/h2database/h2database/pull/3275">PR #3275</a>: Add TO_DATE and TO_TIMESTAMP to PostgreSQL compatibility mode
</li>
<li><a href="https://github.com/h2database/h2database/pull/3274">PR #3274</a>: Remove some dead code and unused params
</li>
<li><a href="https://github.com/h2database/h2database/issues/3266">Issue #3266</a>: Oracle compatibility NUMBER without precision and scale should have variable scale
</li>
<li><a href="https://github.com/h2database/h2database/issues/3263">Issue #3263</a>: Unable to store BigDecimal with negative scale in NUMERIC(19,6) column
</li>
<li><a href="https://github.com/h2database/h2database/pull/3261">PR #3261</a>: Small optimization for MIN and MAX
</li>
<li><a href="https://github.com/h2database/h2database/issues/3258">Issue #3258</a> / <a href="https://github.com/h2database/h2database/pull/3259">PR #3259</a>: Prevent incorrect optimization of COUNT(*) and other changes
</li>
<li><a href="https://github.com/h2database/h2database/pull/3255">PR #3255</a>: Throw proper exception when type of argument isn't known
</li>
<li><a href="https://github.com/h2database/h2database/issues/3249">Issue #3249</a>: Multi-column assignment with subquery throws exception when subquery doesn't return any rows
</li>
<li><a href="https://github.com/h2database/h2database/pull/3248">PR #3248</a>: Remove redundant uniqueness check, correct version in pom
</li>
<li><a href="https://github.com/h2database/h2database/pull/3247">PR #3247</a>: Avoid AIOBE exception in TestCrashAPI and in Transaction
</li>
<li><a href="https://github.com/h2database/h2database/issues/3241">Issue #3241</a>: ResultSetMetaData::getColumnTypeName should produce the correct ARRAY type
</li>
<li><a href="https://github.com/h2database/h2database/issues/3204">Issue #3204</a>: H2 Tools Web Console: Unicode 32
</li>
<li><a href="https://github.com/h2database/h2database/issues/3227">Issue #3227</a>: Regression when referencing outer joined column from correlated subquery
</li>
<li><a href="https://github.com/h2database/h2database/issues/3237">Issue #3237</a>: Can no longer cast CHAR(n) to BOOLEAN with n > 1
</li>
<li><a href="https://github.com/h2database/h2database/issues/3235">Issue #3235</a>: Regression in IN predicate with empty in list
</li>
<li><a href="https://github.com/h2database/h2database/issues/3236">Issue #3236</a>: NullPointerException in DatabaseMetaData::getIndexInfo when querying the info for views
</li>
<li><a href="https://github.com/h2database/h2database/issues/3233">Issue #3233</a>: General error when using NULL predicate on _ROWID_ column
</li>
<li><a href="https://github.com/h2database/h2database/issues/3223">Issue #3223</a>: TRUNC(v, p) with negative precisions no longer works
</li>
<li><a href="https://github.com/h2database/h2database/issues/3221">Issue #3221</a>: NullPointerException when creating domain
</li>
<li><a href="https://github.com/h2database/h2database/issues/3186">Issue #3186</a>: ResultSetMetaData.getSchemaName() returns empty string for aliased columns
</li>
</ul>


<!-- [close] { -->
Expand Down
8 changes: 4 additions & 4 deletions html/cheatSheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ <h2>Using H2</h2>
<a href="https://github.com/h2database/h2database">open source</a>,
<a href="license.html">free to use and distribute</a>.
</li><li><a href="https://h2database.com/html/download.html">Download</a>:
<a href="https://repo1.maven.org/maven2/com/h2database/h2/2.3.230/h2-2.3.230.jar" class="link">jar</a>,
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2-setup-2024-07-15.exe" class="link">installer (Windows)</a>,
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2-2024-07-15.zip" class="link">zip</a>.
<a href="https://repo1.maven.org/maven2/com/h2database/h2/2.3.232/h2-2.3.232.jar" class="link">jar</a>,
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2-setup-2024-08-11.exe" class="link">installer (Windows)</a>,
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2-2024-08-11.zip" class="link">zip</a>.
</li><li>To start the
<a href="quickstart.html#h2_console">H2 Console tool</a>, double click the jar file, or
run <code class="notranslate">java -jar h2*.jar</code>, <code class="notranslate">h2.bat</code>, or <code class="notranslate">h2.sh</code>.
Expand Down Expand Up @@ -193,7 +193,7 @@ <h2><a href="build.html#maven2">Maven 2</a></h2>
&lt;dependency&gt;
&lt;groupId&gt;com.h2database&lt;/groupId&gt;
&lt;artifactId&gt;h2&lt;/artifactId&gt;
&lt;version&gt;2.3.230&lt;/version&gt;
&lt;version&gt;2.3.232&lt;/version&gt;
&lt;/dependency&gt;
</pre>

Expand Down
2 changes: 1 addition & 1 deletion html/commands.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down
4 changes: 2 additions & 2 deletions html/datatypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down Expand Up @@ -785,7 +785,7 @@ <h2 id="uuid_type" class="notranslate" onclick="switchBnf(this)">UUID</h2>
<span class="ruleH2">UUID</span>
</pre>
syntax-end -->
<p>Universally unique identifier. This is a 128 bit value. To store values, use <code class="notranslate">PreparedStatement.setBytes, setString</code>, or <code class="notranslate">setObject(uuid)</code> (where <code class="notranslate">uuid</code> is a <code class="notranslate">java.util.UUID</code>). <code class="notranslate">ResultSet.getObject</code> will return a <code class="notranslate">java.util.UUID</code>.</p><p>Please note that using an index on randomly generated data will result on poor performance once there are millions of rows in a table. The reason is that the cache behavior is very bad with randomly distributed data. This is a problem for any database system.</p><p>For details, see the documentation of <code class="notranslate">java.util.UUID</code>.</p>
<p><code class="notranslate">RFC</code> 9562-compliant universally unique identifier. This is a 128 bit value. To store values, use <code class="notranslate">PreparedStatement.setBytes, setString</code>, or <code class="notranslate">setObject(uuid)</code> (where <code class="notranslate">uuid</code> is a <code class="notranslate">java.util.UUID</code>). <code class="notranslate">ResultSet.getObject</code> will return a <code class="notranslate">java.util.UUID</code>.</p><p>Please note that using an index on randomly generated data will result on poor performance once there are millions of rows in a table. The reason is that the cache behavior is very bad with randomly distributed data. This is a problem for any database system. To avoid this problem use <code class="notranslate">UUID</code> version 7 values.</p><p>For details, see the documentation of <code class="notranslate">java.util.UUID</code>.</p>
<p>Example:</p>
<p class="notranslate">UUID</p>

Expand Down
14 changes: 7 additions & 7 deletions html/doap-h2.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
</SVNRepository>
</repository>
<mailing-list rdf:resource="https://groups.google.com/g/h2-database"/>
<release>
<Version>
<name>H2 2.3.232</name>
<created>2024-08-11</created>
<revision>2.3.232</revision>
</Version>
</release>
<release>
<Version>
<name>H2 2.3.230</name>
Expand Down Expand Up @@ -132,13 +139,6 @@
<created>2017-06-10</created>
<revision>1.4.196</revision>
</Version>
</release>
<release>
<Version>
<name>H2 1.4.195</name>
<created>2017-04-23</created>
<revision>1.4.195</revision>
</Version>
</release>
</Project>
</rdf:RDF>
6 changes: 5 additions & 1 deletion html/download-archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down Expand Up @@ -125,6 +125,10 @@ <h2>Distribution</h2>

<table>
<tbody>
<tr><td>2.2.230</td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.230/h2-setup-2024-07-14.exe">Windows Installer</a></td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.230/h2-2024-07-14.zip">Platform-Independent Zip</a></td>
</tr>
<tr><td>2.2.224</td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.224/h2-setup-2023-09-17.exe">Windows Installer</a></td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.224/h2-2023-09-17.zip">Platform-Independent Zip</a></td>
Expand Down
18 changes: 9 additions & 9 deletions html/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down Expand Up @@ -116,12 +116,12 @@

<h1>Downloads</h1>

<h3>Version 2.3.230 (2024-07-15)</h3>
<h3>Version 2.3.232 (2024-08-11)</h3>
<p>
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2-setup-2024-07-15.exe">Windows Installer</a>
(SHA1 checksum: 6b0a21c2d4848fa0222c2a99e4a96fab28562306)<br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2-2024-07-15.zip">Platform-Independent Zip</a>
(SHA1 checksum: 1ce726c3fc24bbaf0583a4caf417a8ec5fb11709)<br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2-setup-2024-08-11.exe">Windows Installer</a>
(SHA1 checksum: 58e6993a0440ffb2c6d6864ba81931c495bdb993)<br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2-2024-08-11.zip">Platform-Independent Zip</a>
(SHA1 checksum: 3723f1c0cd4eae43780c7302bbbc8064a547a11e)<br />
</p>

<h3>Archive Downloads</h3>
Expand All @@ -131,9 +131,9 @@ <h3>Archive Downloads</h3>

<h3>Maven (Binary JAR, Javadoc, and Source)</h3>
<p>
<a href="https://search.maven.org/remotecontent?filepath=com/h2database/h2/2.3.230/h2-2.3.230.jar">Binary JAR</a><br />
<a href="https://search.maven.org/remotecontent?filepath=com/h2database/h2/2.3.230/h2-2.3.230-javadoc.jar">Javadoc</a><br />
<a href="https://search.maven.org/remotecontent?filepath=com/h2database/h2/2.3.230/h2-2.3.230-sources.jar">Sources</a><br />
<a href="https://search.maven.org/remotecontent?filepath=com/h2database/h2/2.3.232/h2-2.3.232.jar">Binary JAR</a><br />
<a href="https://search.maven.org/remotecontent?filepath=com/h2database/h2/2.3.232/h2-2.3.232-javadoc.jar">Javadoc</a><br />
<a href="https://search.maven.org/remotecontent?filepath=com/h2database/h2/2.3.232/h2-2.3.232-sources.jar">Sources</a><br />
</p>

<h3>Git Source Repository</h3>
Expand Down
2 changes: 1 addition & 1 deletion html/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down
2 changes: 1 addition & 1 deletion html/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<a href="grammar.html">SQL Grammar</a><br />
<a href="systemtables.html">System Tables</a><br />
<a href="../javadoc/index.html">Javadoc</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.230/h2.pdf">PDF (2 MB)</a><br />
<a href="https://github.com/h2database/h2database/releases/download/version-2.3.232/h2.pdf">PDF (2 MB)</a><br />
<br />
<b>Support</b><br />
<a href="faq.html">FAQ</a><br />
Expand Down
Loading

0 comments on commit c0f8763

Please sign in to comment.