Re: Delete a table content
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