From: Travis B. <tb...@ph...> - 2010-09-21 19:39:45
|
Yeah, this is why we never added it. Deferred constraints are not supported on innodb -- you are using innodb right? :) -- so it needs to correctly order the operations. tb On Sep 21, 2010, at 2:04 PM, Ramsey Gurley wrote: > Or it may have been left intentionally blank because MySQL does not > support deferred constraints. Enabling that just seemed like asking > for trouble to me. Same as the default WO 5.4 MySQLExpression class: > > public NSArray > foreignKeyConstraintStatementsForRelationship(EORelationship > relationship) { > return null; > } > > Patches are certainly welcome though. > > Ramsey > > On Sep 21, 2010, at 10:15 AM, Mike Schrag wrote: > >> did it maybe work when you were using 5.3? the 5.4 sync factory >> bypasses a lot of 5.3 api's, so it might be that someone needs to >> figure out what the bridge method is under 5.4 and put that into the >> mysqlsyncfactory impl so it gets properly called. >> >> On Sep 21, 2010, at 9:05 AM, Jake Fisher wrote: >> >>> It worked at some point based on the db at least. It has all the auto >>> generated foreign key indexes in there for there previously generated >>> models etc. >>> >>> Other relevant info: WebObjects 5.4, OSX 10.6.4, mysql jar >>> 'mysql-connector-java-5.1.13-bin.jar' >>> >>> On Tue, Sep 21, 2010 at 9:00 AM, David LeBer >>> <dle...@co...> wrote: >>>> >>>> On 2010-09-21, at 8:42 AM, Jake Fisher wrote: >>>> >>>>> I was running migrations today and noticed add foreign key was no >>>>> longer working. Should I be looking to something in Wonder for the >>>>> change? Or is it the use of the new Wonder MySQL Plugin? Or >>>>> something >>>>> else entirely? >>>>> >>>>> Ideas comments etc? >>>> >>>> I don't beleive add foreign key has ever worked with MySQL. Could >>>> it be that it is just getting logged now? >>>> >>>> ;david >>>> >>>> -- >>>> David LeBer >>>> Codeferous Software >>>> 'co-def-er-ous' adj. Literally 'code-bearing' >>>> site: http://codeferous.com >>>> blog: http://davidleber.net >>>> profile: http://www.linkedin.com/in/davidleber >>>> twitter: http://twitter.com/rebeld >>>> -- >>>> Toronto Area Cocoa / WebObjects developers group: >>>> http://tacow.org >>>> >>>> >>>> >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> http://p.sf.net/sfu/novell-sfdev2dev >>> _______________________________________________ >>> Wonder-disc mailing list >>> Won...@li... >>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Wonder-disc mailing list >> Won...@li... >> https://lists.sourceforge.net/lists/listinfo/wonder-disc >> > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc |