Also, if it is declared as a private it is seen as a cmp_field.  But a data 
member with final or static keywords should not be seen as a 
cmp_field.  Does that make sense?  It looks like it is saying since there 
is a cmp field (which is actually a constant) in the primary key class, it 
should also exist in the Bean class.  I am getting the following exception:

[AutoDeployer] org.jboss.deployment.J2eeDeploymentException: Error while 
starting my-model.jar: Could not deploy 
file:/var/jboss/tmp/deploy/Default/my-model.jar, Cause: 
org.jboss.ejb.DeploymentException: Could not deploy 
file:/var/jboss/tmp/deploy/Default/my-model.jar, 
Cause:org.jboss.ejb.DeploymentException: Bean MyBean has PK of type 
com.multideck.myModel.MyBeanPK, so it should have a cmp-field named 
CONST_MYBEANPK

Is this correct?


Frederick N. Brier
Sr. Software Engineer
Multideck Corporation


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to