Is the following sort of thing expected behavior? I'm using H2 1.4.200 and a named in-memory database with
DB_CLOSE_DELAY=-1.
statement.execute("SHUTDOWN");
statement.close();
// assert connection.isClosed(); // fails
connection.close(); // throws exception
I would think that either connection.isClosed() at that point should return true, or it should be legal to attempt to close the connection.
Best,
Laird