[EMF] [Teneo] [Hibernate] Reference on NON Primary Key [message #815298] |
Wed, 07 March 2012 13:36 |
Nils Koerner Messages: 5 Registered: March 2012 |
Junior Member |
|
|
Hallo,
i have 2 EClasses:
Class Person
- ID = PrimaryKey
- Name
- otherUniqueID
Class Adress
- ID = PrimaryKey
- person = Refrence to Person.otherUniqueID
- street
- city
I use a Ecore-Model with Teneo and Hibernate. The problem is, that i dont know the annotation for the person-refrence in class "Adress". Does anybody know, how to do that??
Many thanks
Nils
[Updated on: Wed, 07 March 2012 13:48] Report message to a moderator
|
|
|
Re: [EMF] [Teneo] [Hibernate] Reference on NON Primary Key [message #815890 is a reply to message #815298] |
Thu, 08 March 2012 06:47 |
Ed Merks Messages: 33136 Registered: July 2009 |
Senior Member |
|
|
Nils,
Please use eclipse.tools.emf for questions about Teneo.
On 07/03/2012 2:36 PM, Nils Koerner wrote:
> Hallo,
>
> i have 2 EClasses:
>
> Class Person
> - ID = PrimaryKey
> - Name
> - otherUniqueID
> Class Adress
> - ID = PrimaryKey
> - person = Refrence to Person.otherUniqueID
> - street
> - city
>
> I use a Ecore-Model with Teneo and Hibernate. The problem is, that i
> dont know the annotation for the person-refrence in class "Adress".
> Does anybody knows, how to do that??
>
> Many thanks
> Nils
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02170 seconds