Application server automatically identifies relationships by foreign keys in
the database
By specifying <relationships> section in the deployment descriptor file.
It depends on vendor specific EJB container implementation.
By private references in EJB object main class.
Container managed entity beans support only 1:1 relationships.
|