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

Re: migrations error


  • Subject: Re: migrations error
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 01 Nov 2011 08:32:19 -0700

I think this is commonly handled in a post migration

http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/migration/IERXPostMigration.html

Just make your migration implement that interface, and the post migration method will be called after the tables are created.  From the package documentation:

To perform a "post op", your migration can implement IERXPostMigration instead of IERXMigration, and this adds the additional method:

   public void postUpgrade(EOEditingContext editingContext, EOModel model) throws Throwable;
smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: migrations error
      • From: Ramsey Gurley <email@hidden>
References: 
 >migrations error (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: migrations error
  • Next by Date: Re: migrations error
  • Previous by thread: Re: migrations error
  • Next by thread: Re: migrations error
  • Index(es):
    • Date
    • Thread