users@glassfish.java.net

Re: JPA relationship pattern question

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 May 2007 10:37:11 PDT

Am I correct in deducing that you're trying to store additional information in the join-table besides the FK's that bring the other two tables together?

If so, I'm not sure this can be done w/ @ManyToMany but it would be simple to solve this in another one...most easily but simply storing that information in another table (entity) or as an additional field in one of the two main tables in the many-to-many scheme.
[Message sent by forum member 'zambizzi' (zambizzi)]

http://forums.java.net/jive/thread.jspa?messageID=215403