wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Showing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Showing "Join Table" (entity) in Class Diagram" Watch "Showing "Join Table" (entity) in Class Diagram" New topic
Author

Showing "Join Table" (entity) in Class Diagram

Gurunath Dharmar
Ranch Hand

Joined: Aug 10, 2009
Posts: 45

Hi All,

1) If i decide to keep a join table for a many-to-many association, do i need to show it in class diagram or simply put a note saying JPA auto-creates it?
2) If my domain model shows uni-directional navigation between many-to-many, can i change it to bi-directional (default association in data model)?

Please clarify me.
Krzysztof Koziol
Ranch Hand

Joined: Nov 19, 2006
Posts: 133

1) I would put a note under the Class Diagram that JPA takes care of any additional tables that are needed by this ORM mapping.
2) I would not change any navigations given in the assignment.


SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCEA/OCMJEA 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Showing "Join Table" (entity) in Class Diagram