Hi,
What you could do is: change the source code of H2 so that it remembers the
stack trace when closing the connection, and then throws this exception in
JdbcStatement.checkClosed (instead of throwing a generic "connection
closed" exception).
class JdbcConnection {
SQLException closePoint;
close() {
closePoint = new SQLException("closed");
}
checkClosed() {
if (closePoint != null) {
throw closePoint;
}
}
Regards,
Thomas
On Mon, May 13, 2013 at 4:59 PM, Noel Grandin <[email protected]> wrote:
> H2 is very easy to build.
> http://h2database.com/html/**build.html<http://h2database.com/html/build.html>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> h2-database+unsubscribe@**googlegroups.com<h2-database%[email protected]>
> .
> To post to this group, send email to [email protected].
> Visit this group at
> http://groups.google.com/**group/h2-database?hl=en<http://groups.google.com/group/h2-database?hl=en>
> .
> For more options, visit
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
>
>
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.