Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 42622 invoked from network); 29 Oct 2006 00:46:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2006 00:46:25 -0000 Received: (qmail 44490 invoked by uid 500); 29 Oct 2006 00:46:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44454 invoked by uid 500); 29 Oct 2006 00:46:36 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 44440 invoked by uid 99); 29 Oct 2006 00:46:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 17:46:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 17:46:22 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C2B287142C1 for ; Sat, 28 Oct 2006 17:45:17 -0700 (PDT) Message-ID: <20435300.1162082717794.JavaMail.root@brutus> Date: Sat, 28 Oct 2006 17:45:17 -0700 (PDT) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-1556) Add a utility JUnit test decorator that drops all SQL objects in its tearDown method. In-Reply-To: <5996270.1153442960591.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1556?page=all ] Daniel John Debrunner resolved DERBY-1556. ------------------------------------------ Fix Version/s: 10.3.0.0 Resolution: Fixed CleanDatabaseSetup successfully cleans databases now including functions and synonyms and cases where tables and other objects afre dependent on each other. > Add a utility JUnit test decorator that drops all SQL objects in its tearDown method. > ------------------------------------------------------------------------------------- > > Key: DERBY-1556 > URL: http://issues.apache.org/jira/browse/DERBY-1556 > Project: Derby > Issue Type: Improvement > Components: Test > Reporter: Daniel John Debrunner > Fix For: 10.3.0.0 > > > Idea is to drop objects based upon input from DatabaseMetaData or Derby system catalogs where the meta data is insufficient. > Would allow Junit tests to share databases. > Can be incrementally developed and used, e.g. first step drop all views. Then tables etc. etc. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira