db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Holthuizen <patr...@eaze.org>
Subject question: is is possible to identify open resources?
Date Sat, 11 Sep 2010 08:16:33 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I use Derby with an in-memory database for unit testing. All unit
tests share a single connection. Now I want to assert (not close) (in
the tear down of a unit test) that all result sets and statements used
during the test are properly closed. Is it possible to obtain all
resources related to a connection which are currently open?

Thank you in advance.

Sincerely,
Patrick Holthuizen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkyLOuEACgkQ2xeQKUlEiTbIlwCcDMlqnzmuVpnbERGKUOYRC3LL
tMIAniDkMI/pO3OAuwEQKUuenwI8WFRl
=Qc/F
-----END PGP SIGNATURE-----


Mime
View raw message