Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug



The SQL to set the primary key in MySQL is:

ALTER TABLE TableName ADD PRIMARY KEY (FirstKey, SecondKey);

Dev WO wrote:

I filled the column/table name.
To make sure, I tried on a previous EOModel that worked, and same error, so bugreport tonight;)


But now I feel stupid, because I don't know how to generate my table in MySQL:( I was able to add the first primary key, but it seems I cannot add the second one (index)...
Could someone copy/paste something here so I have a sample of the command line I have to enter to generate the join table?


Thanks

Xavier



Dev WO wrote:

Hi list,
just want to make sure it's not my personal setup that cause this bug:
If I create a new many-to-many relationship in EOModeler (standalone, not the plugin), when I try to generate the SQL I get:
------
ObjCJava WARNING: An error has occurred in the Java Bridge. You should try to save changes and restart your application.
------



Make sure you fill in the table name and column names in the new join table. EOModeler does not do that for you. If you did, then it's a new bug.


-arturo


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden



This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug (From: Dev WO <email@hidden>)
 >Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug (From: Arturo Perez <email@hidden>)
 >Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug (From: Dev WO <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.