Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 61919 invoked from network); 31 Jan 2007 20:39:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 20:39:23 -0000 Received: (qmail 1869 invoked by uid 500); 31 Jan 2007 20:39:29 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 1850 invoked by uid 500); 31 Jan 2007 20:39:29 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 1841 invoked by uid 99); 31 Jan 2007 20:39:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 12:39:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of plinskey@bea.com designates 66.248.192.21 as permitted sender) Received: from [66.248.192.21] (HELO usremg01.bea.com) (66.248.192.21) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 12:39:20 -0800 Received: from usremr01.bea.com (mailrelay.bea.com [10.160.29.91]) by usremg01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id l0VKcwHu030580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 31 Jan 2007 12:38:58 -0800 Received: from repbex02.amer.bea.com (repbex02.bea.com [10.160.26.99]) by usremr01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id l0VKcscd026431 for ; Wed, 31 Jan 2007 12:38:57 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Perform automatic drop and create db schema Date: Wed, 31 Jan 2007 12:38:50 -0800 Message-ID: <7D856CDFE035FF45A0420ACBD71BDD630312E903@repbex02.amer.bea.com> In-Reply-To: <7A8C7209-C348-4E45-A8BB-D1E03698955D@iq80.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Perform automatic drop and create db schema Thread-Index: AcdFdZ0Vc6mNuYKWTM6k7HGGxFmo5QAAiL5A References: <7D856CDFE035FF45A0420ACBD71BDD6302BAAA1C@repbex02.amer.bea.com> <7A8C7209-C348-4E45-A8BB-D1E03698955D@iq80.com> From: "Patrick Linskey" To: X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.2.111433 X-Virus-Checked: Checked by ClamAV on apache.org It's in 0.9.7-snapshot; I don't remember the change number. -Patrick --=20 Patrick Linskey BEA Systems, Inc.=20 _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.=20 > -----Original Message----- > From: Dain Sundstrom [mailto:dain@iq80.com]=20 > Sent: Wednesday, January 31, 2007 12:22 PM > To: open-jpa-dev@incubator.apache.org > Subject: Re: Perform automatic drop and create db schema >=20 > What version of OpenJPA will this be in and did dropTable get =20 > implemented? >=20 > -dain >=20 > On Jan 2, 2007, at 6:50 PM, Patrick Linskey wrote: >=20 > >> -----Original Message----- > >> From: Shay Banon [mailto:kimchy@gmail.com] > >> Sent: Tuesday, January 02, 2007 2:33 PM > >> To: open-jpa-dev@incubator.apache.org > >> Subject: RE: Perform automatic drop and create db schema > >> > >> > >> Automatically clean that data without dropping the tables > >> makes even more > >> sense. That would be a really cool feature. > > > > Deciding that two is a quorum, and needing something to do on my =20 > > flight > > to Salt Lake City, I implemented a new SchemaTool action called > > 'deleteTableContents' that does what you'd expect, more-or-less. > > > > Along the way, I made it possible to specify multiple SchemaTool =20 > > actions > > via a comma-separated list. > > > > I've done some basic testing of it; more testing=20 > (especially around =20 > > the > > scope of the classes that the operations happen on) would probably =20 > > be a > > good thing. > > > > You can try it out like so: > > > > > value=3D"buildSchema,deleteTableContents" /> > > > > or: > > > > > value=3D"refresh,deleteTableContents" /> > > > > -Patrick > >=20 > ______________________________________________________________ > ________=20 > > _ > > Notice: This email message, together with any attachments, may =20 > > contain > > information of BEA Systems, Inc., its subsidiaries and =20 > > affiliated > > entities, that may be confidential, proprietary, copyrighted =20 > > and/or > > legally privileged, and is intended solely for the use of the =20 > > individual > > or entity named in this message. If you are not the intended =20 > > recipient, > > and have received this message in error, please immediately return =20 > > this > > by email and then delete it. > > >=20 >=20