PURPOSE
~~~~~~~
ormap demonstrates object-relational mappings in oc4j.

EXPLANATION
~~~~~~~~~~~
-EmpBean has 1:1 unidirectional relationship with AddressBean. the address is cascade-deleted when it's employee is removed. [emp]---o[address] (each employee may have one address)
-EmpBean has 1:m unidirectional relationship with PhoneBean. phones are cascade-deleted when their employee is removed. [emp]---o<[phone] (each employee may have one or more phones)
-EmpBean has m:1 bidirectional relationship with DeptBean [dept]o---o<[emp] (each department may have one or more employees and each employee may have one department)
-EmpBean has m:m bidirectional relationship with ProjectBean [emp]---o<[intersect]>o---[project] (each employee may have one or more projects and each project may have one or more employees)

ADDITIONAL INFO
~~~~~~~~~~~~~~~
Please see ../../README.txt for generic instructions.

For this demo, do NOT use the web client. Also do NOT use 'ant run' option.
This program requires a valid and up and running Oracle Database. Please, make sure that the file $ORACLE_HOME/j2ee/home/config/data-sources.xml points to a valid database.