• 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: odd behaviour in n:m settings in EntityModeler in WOLips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odd behaviour in n:m settings in EntityModeler in WOLips


  • Subject: Re: odd behaviour in n:m settings in EntityModeler in WOLips
  • From: Alexander Spohr <email@hidden>
  • Date: Mon, 2 Jun 2008 11:07:15 +0200

Johann,

it sounds like you got it the wrong way ’round.

Am 02.06.2008 um 08:58 schrieb Johan Henselmans:

I am creating a n:m relation between two tables, called adminuser and admingroup, and flatten the relationship.

That would result in an n:m table, admingroupadminuser, with two relationships on both sides: one would propagate the primary key to the table admingroupadminuser, the other one would be a flattened one to the other table.

The master-tables (adminuser and admingroup) have to propagate their pk into the n:m (admingroupadminuser). admingroupadminuserhas no pk of its own so it has nothing to propagate somewhere.


So you’ll have these real relationships (which you switch off in the model):
adminuser <->> admingroupadminuser <<-> admingroup


and these two flattened ones:
adminuser <<->> admingroup



However, I am now getting verification errors in EntityModeler after creating the table. It says:
The relationship adminGroupAdminUsers is a to-many but also propagates its primary key.

This sounds strange.

I assume that turning off the propagate primary key would prevent creating a new record in the n:m table admingroupadminuser.

See above.

Anybody has the same experience,

No.

solutions?

I hope so :)


atze

_______________________________________________
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: odd behaviour in n:m settings in EntityModeler in WOLips
      • From: Johan Henselmans <email@hidden>
References: 
 >odd behaviour in n:m settings in EntityModeler in WOLips (From: Johan Henselmans <email@hidden>)

  • Prev by Date: odd behaviour in n:m settings in EntityModeler in WOLips
  • Next by Date: Re: odd behaviour in n:m settings in EntityModeler in WOLips
  • Previous by thread: odd behaviour in n:m settings in EntityModeler in WOLips
  • Next by thread: Re: odd behaviour in n:m settings in EntityModeler in WOLips
  • Index(es):
    • Date
    • Thread