• 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: Duplicate records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate records


  • Subject: Re: Duplicate records
  • From: David Griffith <email@hidden>
  • Date: Tue, 22 Jun 2004 15:46:50 +0200

Perhaps using the clone() method (of any java.lang.object) will help..

Dave.

> Hello
>
> Is there an easier way to duplicate database records using EOF.
>
> I need to add the functionality to duplicate orders (and order items) for
> the client.
>
> So far I do it this way:
>
> 1- Fetch the record using the EODisplayGroup
> 2- Copy the record in a new EOGenericRecord object
> 3- Do an insert on the DisplayGroup
> 4- Assign each Displaygroup attribute to the Generic Record attribute
> 5- Save the changes using the Editing Context
>
> This seems cumbersome for such an advanced framework but I have not found a
> better way of doing it?
>
> Any suggestions ??
>
> Thanks !!!
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Duplicate records
      • From: Tony Becker <email@hidden>
References: 
 >Duplicate records (From: Yves Custeau <email@hidden>)

  • Prev by Date: EOModeler mysql on win2k
  • Next by Date: Re: refresh an enterprise object
  • Previous by thread: Duplicate records
  • Next by thread: Re: Duplicate records
  • Index(es):
    • Date
    • Thread