foreign key as primary key

Guenter Wildmann <[email protected]> Fri, 18 Dec 2009 07:45:15 +0100
Newsgroups gmane.comp.java.orm.simpleorm
Message-ID <[email protected]>
Hello!

How do i define a foreign key as a part of the primary key?
For the Empoyee-example this would mean the reference to the department
would be part of the primary key of employee.
Thank you in advance.

Ciao, Guenter



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/SimpleORM/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/SimpleORM/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/