• 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: Delete a table content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete a table content


  • Subject: Re: Delete a table content
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 30 Aug 2005 08:47:10 -0700

I can't promise that it will be easy to use. See EOAdaptorChannel in EOAccess layer. Specifically,
public abstract int deleteRowsDescribedByQualifier(EOQualifier qualifier, EOEntity entity)


If any of these objects have been faulting into memory, the object graph will not be consistent after doing this.

Chuck



On Aug 30, 2005, at 5:06 AM, Fabrice Pipart wrote:

Hi list !

I have a question that seems rather simple :
is there a way to delete all the rows of a table without fetching all of them?
I have a table that is rather large and to avoid wasting a lot of memory I did not find a better way than using a fetchLimit and deleting each object until the table is empty...


Any idea?

Regards


Fabrice Pipart


www.icconsulting.mc

International Corporate Consulting
25, Boulevard de Belgique
MC - 98000 Monaco

T. +377 97982104 (direct)
F. +377 97708807

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________ 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
References: 
 >Delete a table content (From: Fabrice Pipart <email@hidden>)

  • Prev by Date: Re: EOModeler 5.3 issues
  • Next by Date: Re: WebObjects Worx Podcast published !
  • Previous by thread: Delete a table content
  • Next by thread: Re: Delete a table content
  • Index(es):
    • Date
    • Thread