|
Hello,
I am in the process of creating CMP Entity beans
that will model the business data in my J2EE web application, however not _all_
of the tables can be modeled by real EJB Entity beans. For example, I have a
table named "proposal", and it is referenced by "proposal_role". Now, I have
created a CMP Entity bean for Proposals in the system, but "proposal_role" is
another "helper" table that is used to keep track of the various roles that
a person has regarding a proposal. However, I want to represent this
relationship so that the EJB Container can automatically manage methods in the
Proposal object that will reference data in the proposal_role table. I have been
creating my CMP relationships in ejb-jar.xml, but these relationships have been
established between actual entity beans. Is there anyway to specify a
relationship between an Entity bean and just a plain table in the database that
doesn't have a true and complete Entity bean representation in the system?
Thank you,
Ryan LeCompte
|
