On Mon, 19 Feb 2001, Robert Krueger wrote:

> Hi,
>
> after reading through chapter 9 of EJB 2.0pfd (chapter on CMP) I have some
> rather fundamental questions.
>
> In our datamodels we frequently encounter relationships that have
> attributes themselves. Let's take the hypothetical example of a security
> system that models doors of a building and people's access rights. Every
> person gets an individual PIN for each door (sorry, couldn't come up with a
> less artificial example ;).
>
> Say I have an entity Person and an Entity Door and a relationship
> PersonDoorAccess with multiplicity many-many. Then things like lastAccessed
> and PIN would be modelled as an attribute of that relationship. I don't see
> any way of doing that using EJB2.0 CMP except for modeling the relationship
> PersonDoorAccess as an entity itself.
It sounds like a dependent of either Person or Door to me.

>
> Is there an obvious reason why relationship attributes don't seem to be
> supported? Is my modeling approach wrong?
>
> It would be great if anyone who's closer to the specifcation process could
> enlighten me where my mistake is.
I'm no closer to the spec. process than you, but I have heard rumors that
there will be substantial changes before the spec. is final.

>
> Thanks in advance,
>
> Robert
>
>
> (-) Robert Kr�ger
> (-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
> (-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
> (-) Tel: 06151 665401, Fax: 06151 665373
> (-) [EMAIL PROTECTED], www.signal7.de
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

--
Dan Christopherson (danch)
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
-Eben Moglen

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to