wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Container Managed Relations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Container Managed Relations" Watch "Container Managed Relations" New topic

Container Managed Relations

Maximilian Trenks
Ranch Hand

Joined: Jul 22, 2002
Posts: 104
I didn't find a good explanation on CMR.
Lets say I have a Table A which references table B. So I could make a table C with primkey of A and primkey of B as attributes.
But is this necessary ? Do i have to create a table and thus an entity bean ?
Or it it possible to just define the relationship as C and use this relation as if a real database table exists ?
Please help me to bring light in this matter.(does this phrase actually exist ?)

Student of Business Informatics<br />Kepler University Linz, Austria
I agree. Here's the link: http://aspose.com/file-tools
subject: Container Managed Relations
Similar Threads
Delete from multiple tables.
hibernate table mapping
link to different table with the same key
entity bean primary key error
If Pkey of EB is of primitive type then what's the return type of ejbCreate()