I've got a set of CMP entity EJBs, say A, B, and C, which all share some common attributes (say X,Y, and Z).I would like to define a new class, say M, which holds these common attributes, and then have A,B and C hold an instance of M. The question is, is it possible to have M be a standard java class, and then have the CMP process map M's attributes onto A,B and C's database columns so that I can retrieve A, B, and C by looking up attributes in M?
I hope that makes sense
Many thanks
Nir