Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.5.0) Part Number E13981-01 |
|
|
View PDF |
In a JPA entity, you define container-managed relationship (CMR) fields (see "What are JPA Entity Container-Managed Relationship Fields?") as follows:
Note:
You can download a JPA entity container-managed relationship field code example from:http://www.oracle.com/technology/tech/java/oc4j/ejb3/howtos-ejb3/howtoejb30mappingannotations/doc/how-to-ejb30-mapping-annotations.html
.