Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JPA Annotation for Composite Foregin Key
JPA Annotation for Composite Foregin Key [message #608698] Wed, 11 July 2007 16:48
No real name is currently offline No real nameFriend
Messages: 36
Registered: July 2009
Member
I have composite key in Object A i.e. (type,id,version,node). Object B has
relation ship to A. So when I use Teneo to create HBM file and then create
DDL script from it , I need those 4 fields be added in table B (with
convention as A_id,A_type ...etc.) and foreign key is created in table B
with reference to table A.

I tried that with @JoinColumns annotations and Teneo gave me exception
sayings is not supported. Whats the mechansim to represent composite
foregin keys ?
Previous Topic:[EMF Compare] - Quick question wrt EMFDIFF format
Next Topic:[ Teneo ] USE_MAPPING_FILE minor enhancement
Goto Forum:
  


Current Time: Wed Sep 25 10:32:56 GMT 2024

Powered by FUDForum. Page generated in 0.04132 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top