Register / Login
EJB and other Java EE Technologies
Problem with cmr-field-type
posted 10 years ago
I am trying to implement a one to many relationship with entity beans, keeping
CMR fields at both the ends.
So my ejb-jar.xml looks something like:
weblogic.ejbc is throwing following error:
ERROR: Error from ejbc: PAction(.ejb-jar.relationships.ejb-relation.ejb-relationship-role.cmr-field.cmr-field
-type.) must be one of the values: java.util.Set,java.util.Collection
My 'many' side of the realtionship is simple declaring a CMR field,
player of type arun.roster.entity.IPlayer. Can any one explain whats wrong with this.
Thanks in advance.
Arun Kumar Kandregula.
SCBCD 1.3 92%
SCJP 1.4 98%
What are valid cmr-field types for EJB2.0 Spec???
My way to read this EJB CMR relationship is right?
is there anything wrong here ?
Should the cmr-field-type be only Collection or Set ?
foreign key in primary key