You can use the Create an Enterprise Bean wizard to create a CMP
entity bean.
Restriction: When setting up inherited CMP entity beans,
children beans cannot have CMP attributes with the same name as those defined
anywhere in their ancestry chains. For example, Parent is a CMP entity bean
that contains an attribute id of type int. If you create a CMP bean called
Child using the wizard and specified Parent as its super type and attempted
to add an attribute id of type int, the id attribute would not be added because
it would inherit Parent's id attribute. If Child2, another unrelated CMP Bean,
contained an attribute id of type java.lang.String and had its inheritance
structure changed through the Deployment Descriptor Editor to inherit from
Parent, Child2's id attribute of type java.lang.String would be removed because
it would inherit Parent's id attribute and there may be validation errors
due to type conflicts.