• 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
Committing during a schema synch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Committing during a schema synch


  • Subject: Committing during a schema synch
  • From: Aaron Rosenzweig <email@hidden>
  • Date: Wed, 23 Aug 2006 07:46:57 -0400

Hi WOFriends,

I'm pretty far along on a Firebird EOModeler plugin. It appears to be outputting all the right sql statements for a synchronization. But I have a problem.

I need it to commit after a table is created and probably also after a table is dropped. If I just tell EOModeler to execute, it will fail at points where it can't "see" the table it created previously. When I cut and paste the synchronization code into a sql client and execute it there, I get the same thing. When I add commit statements by hand and execute it on the sql client, it works famously.

Any tips on how to best implement this is appreciated.

If this helps, there is an NSArray of SQL expressions generated by this method in the API:

statementsToUpdateObjectStoreForModel()

If anyone knows where this called, and how I could override things to just simply do a commit after each _expression_, I believe that would be a quick and dirty way to get this to work.

Any and all ideas appreciated.

Thanks in advance,

-- Aaron

http://lasvegas.roadmarketing.net/

http://www.jewelryluv.com/

http://www.cocoanutstech.com/


 _______________________________________________
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: Committing during a schema synch
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: XCode 2.3 --> XCode 2.4 [and WebObjects 5.3.2]
  • Next by Date: CoSign and WebObjects
  • Previous by thread: Re: EC UndoManager Question
  • Next by thread: Re: Committing during a schema synch
  • Index(es):
    • Date
    • Thread