• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deleting All Objects in a Database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting All Objects in a Database


  • Subject: Re: Deleting All Objects in a Database
  • From: David LeBer <email@hidden>
  • Date: Tue, 27 Oct 2009 20:57:59 -0400


On 2009-10-27, at 8:29 PM, Chuck Hill wrote:

Hi Joe,


On Oct 27, 2009, at 4:34 PM, Joe Kramer wrote:

Hi all,

I am trying to make the life of the person doing our acceptance testing easier by creating a utility that deletes all the objects from our database without having to run our drop/create scripts and restart our app every time she wants to start a test from a clean environment. Is there an easy way to delete all the objects in a database in webobjects?


Not that I can think of. In your case, it will probably be quicker to do what you are doing.

For our integration tests we use a combination of raw sql and DBUnit to setup and teardown the test db.


;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Deleting All Objects in a Database
      • From: Chuck Hill <email@hidden>
References: 
 >Deleting All Objects in a Database (From: Joe Kramer <email@hidden>)
 >Re: Deleting All Objects in a Database (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: removeObjectFromBothSidesOfRelationshipWithKey() question
  • Next by Date: Re: Deleting All Objects in a Database
  • Previous by thread: Re: Deleting All Objects in a Database
  • Next by thread: Re: Deleting All Objects in a Database
  • Index(es):
    • Date
    • Thread