• 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
Different tables for ERAttachment ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Different tables for ERAttachment ?


  • Subject: Different tables for ERAttachment ?
  • From: James Cicenia <email@hidden>
  • Date: Tue, 17 Apr 2012 07:10:27 -0500

Hello -

I want to convert my old method of storing and retrieving images to ERAttachment.
This is the last big chunk of my conversion to Wonder.

I already have my documents modeled in the current setup:

ProjectDocument --> ProjectDocumentObject (id,blob)

Is there an easy way to make this:

ERAttachment --> ERAttachmentData ?

Can I just make ProjectDocument subclass ERDatabaseAttachment and ProjectDocumentObject ERAttachmentData?

I don't seem to see where I can change the object mappings. In other words do I have to ERAttachment and ERAttachmentData?
Or can subclassed objects "just work".

There is a lot of data here so I really don't want to write out and the reimport all the documents.

Thanks
James





 _______________________________________________
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

  • Prev by Date: Re: Inserting a new obligatory entity in an relation, where? (SOLVED?)
  • Next by Date: Re: Why won't my AjaxTree expand or collapse?
  • Previous by thread: Multiple EO ObjectStoreCoordinators
  • Next by thread: Re: MariaDB
  • Index(es):
    • Date
    • Thread