A little more detail on the content of these tables and the entities that consume them would be helpful. But, it sounds like @ElementCollection and @CollectionTable might be of use. You can reference the spec [1], or the Pro JPA 2 book [2], or some of these other urls for examples.
[1] http://www.jcp.org/en/jsr/detail?id=317 [2] http://www.amazon.com/Pro-JPA-Mastering-Persistence-Technology/dp/1430219564 [3] http://en.wikibooks.org/wiki/Java_Persistence/ElementCollection http://www.developer.com/java/ent/article.php/3898336/The-Top-5-New-Annotations-in-JPA-2.htm On Mon, May 2, 2011 at 5:57 PM, chintan4181 <[email protected]> wrote: > Yes these tables are used by other entities as Set . > > What would you suggest? > > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/Entity-without-primary-key-tp6318428p6325602.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
