Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions java/developing-applications/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ Check out the version in our [CAP Java bookshop sample project](https://github.c

H2 includes a built-in web console application, providing a user-friendly interface for database administration, query execution, and data inspection without requiring external tools. CAP Java applications configured with the H2 database expose the administration console under `http://localhost:8080/h2-console` (assuming default port `8080`).

::: warning Use the latest `2.3.x` version of H2
Avoid using the version `2.4.240` of H2. It has a bug causing performance degradations in certain subqueries, which are used by cascade delete.
:::
Comment on lines +270 to +272

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When would we delete this note? When the bug is fixed? Or are they not planning on doing so?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When a release with a bugfix is available.

I am a bot uneasy wether we can (legally) highlight this bug. Alternatively we could phrase a positive message and state that the max supported minor version is 2.3.x.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a public bug report? Or did we just identify that during testing?
I agree to a positive formulation, but if that is a publicly known bug, I don't see an issue mentioning that.

Suggested change
::: warning Use the latest `2.3.x` version of H2
Avoid using the version `2.4.240` of H2. It has a bug causing performance degradations in certain subqueries, which are used by cascade delete.
:::
::: warning Use the latest `2.3.x` version of H2
Even though there are newer versions available, we cannot recommend using them for now. Therefore we only support until version 2.3.x of H2. This recommendation is subject to change. If our test results allow to recommend newer versions we will do so.
:::

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one that looks related: h2database/h2database#4353


### Setup & Configuration

#### Using the Maven Archetype
Expand Down
Loading