openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JoshiJPA <bunty.jo...@wellsfargo.com>
Subject Re: @ElementJoinColumn more than one columns
Date Wed, 15 Apr 2009 15:36:39 GMT

Thank you Pinaki. 
It says "enclose an array of ElementJoinColumns in the org.apache.openjpa.persistence.jdbc.ElementJoinColumns
annotation"

should this be array of ElementJoinColumns or ElementJoinColumn? Also can you please provide
me the syntax of how to use @ElementJoinColumns ?

Thanks again,
Joshi

See [1]

[1] http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_mapping_jpa_coll_joincols


Can I specify more than one columns along with @ElementJoinColumn? If yes then how do I do
that? I have one sided one to many relationship with composite foreign keys.




-- 
View this message in context: http://n2.nabble.com/%40ElementJoinColumn-more-than-one-columns-tp2635985p2639516.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message