|JPA Annotation for Composite Foregin Key [message #608698]
||Wed, 11 July 2007 16:48
| No real name
Registered: July 2009
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 ?
Powered by FUDForum
. Page generated in 0.02374 seconds