Re: Help inserting many-to-many (solved!)

Sarwat Khan <[email protected]>
Newsgroups gmane.comp.web.webobjects.eof
Message-ID <[email protected]>
Wow, that was a pain.

When I was created the db, I was creating tables from EOModeler. When I 
did it that way, EOModeler was creating a lot of extra relationships (I 
guess because I was creating tables one by one rather than all at once, 
so the reverse relationships were twice as many).

This time I created the schema in OpenBase and then imported it into 
EOModeler. Then finally everything worked the way I expected it to!

When I was calling addObjectToBothSidesOfRelationshipWithKey, it was 
doing it, but it was updating the wrong relationship (because EOModeler 
was creating too many relationships).

As for entities losing attributes, I'm guessing that EOModeler was 
corrupting the eomodel file. Now I'm keeping backups before I modify it 
:P

So, in summary, I hate EOModeler.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.