Skip to content

Commit

Permalink
README updates, RELEASE_NOTES-c3p0-0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
swaldman committed Jan 30, 2025
1 parent 19217b1 commit f19d6f3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Thank you for your interest in c3p0. I do hope that you find it useful!

### Building c3p0

For now (v0.10.1), c3p0 is built under a Java 11 VM, targetting JDK 7 classfiles for continued compatibility with legacy apps.
For now (v0.10.2), c3p0 is built under a Java 11 VM, targetting JDK 7 classfiles for continued compatibility with legacy apps.

_In order to remind me to switch to Java 11, the build will fail with an Exception if it detects an unexpected version._

Expand Down Expand Up @@ -58,7 +58,7 @@ You can then open in your browser `out/doc/docroot.dest/index.html`

By default the tests expect to find a database at `jdbc:postgresql://localhost:5432/c3p0`.
As you can see, I usually test against a local postgres database. You can change this in
the `forkArgs` function of [`build.sc`](build.sc).
the `forkArgs` function of the `test` module, in [`build.mill`](build.mill).

c3p0's testing is, um, embarrassingly informal. There is a junit test suite, but it covers a
very small fraction of c3p0 functionality. To run that, it's just
Expand All @@ -71,7 +71,7 @@ Mostly c3p0 is tested by running a few test applications, and varying config _ad

_If you think c3p0 could/should be tested more professionally and automatically, me too! I'd love a pull request._

[`build.sc`](build.sc) contains a lot of test applications, but the most important are
[`build.mill`](build.mill) contains a lot of test applications, but the most important are

```plaintext
$ mill test.c3p0Benchmark
Expand Down
14 changes: 14 additions & 0 deletions RELEASE_NOTES-c3p0-0.10.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
RELEASE NOTES, c3p0-0.10.2
==========================

This is a very minor c3p0 release. Substantively, it includes one fix of a rare freeze.
The build has been upgraded for mill v0.12.x. There have been minor logging and testing changes.

(The main motivation for publishing this release now is I'm to starting the 0.11.x prerelease
series, but I want this very non-disruptive fix in 0.10.x.)

Substantive fix:

* Acquisition of a new PreparedStatement by the Statement cache could hang indefinitely
if the attempt to acquire provoked a non-Exception Throwable (i.e. an Error).
Many thanks to Totyo Totev!

0 comments on commit f19d6f3

Please sign in to comment.