• 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: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
  • From: Kevin Carlin <email@hidden>
  • Date: Sun, 27 Nov 2005 13:21:06 -0500

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:


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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
      • From: Dev WO <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>)

  • Prev by Date: PostgreSQL/MySQL performance with WebObjects
  • Next by Date: Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
  • Previous by thread: Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
  • Next by thread: Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
  • Index(es):
    • Date
    • Thread