Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 70855 invoked from network); 13 Sep 2010 07:54:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 07:54:35 -0000 Received: (qmail 68511 invoked by uid 500); 13 Sep 2010 07:54:35 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 68447 invoked by uid 500); 13 Sep 2010 07:54:33 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Delivered-To: moderator for derby-user@db.apache.org Received: (qmail 31283 invoked by uid 99); 11 Sep 2010 08:17:26 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of patrick@eaze.org does not designate 212.54.42.167 as permitted sender) Message-ID: <4C8B3AE1.9030909@eaze.org> Date: Sat, 11 Sep 2010 10:16:33 +0200 From: Patrick Holthuizen User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) MIME-Version: 1.0 To: derby-user@db.apache.org Subject: question: is is possible to identify open resources? X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OuLGE-0005jY-CJ X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.5, vereist 5, BAYES_50 0.00, CM_META_TB_NOARR 0.50, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: patrick@eaze.org X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No -----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-----