Hi, all,
I would like to use entity beans to implement a tree like entity.

i.e., 3 tables in a RDBMS,
A(a, description)
B(a, b, description)
C(a, b, c, description)

A--*>B--*>C

a is the PK of table A;
(a, b) is the PK of table B; a is a foreign key to A.
(a, b, c) is the PK of table C; (a, b) is a foreign key to B.

Both A, B, C may be edited by the client.

I knew that it is not a good idea to map each table as an entity
bean. Then what should I do?

Thanks.
Que

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to