Hi every body
My problem:
I'm trying to find the child record related to an entity in a
one-to-many relationship(Solution-->SolutionDetail)
I have the following method in the Solution remoteInterface
public void getSolutionds(Collection solutionds) throws
RemoteException;
and i have the folowing relationship descriptor in the ejb-jar.xml
<ejb-relation>
<ejb-relation-name>SolutionDetail</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>solutiond-belongto-solutionh</ejb-relationship-role-name>
<multiplicity>many</multiplicity>
<role-source>
<ejb-name>Solutiond</ejb-name>
</role-source>
<cmr-field>
<cmr-field-name>solutionh</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>solutionh-has-solutiond</ejb-relationship-role-name>
<multiplicity>one</multiplicity>
<role-source>
<ejb-name>Solution</ejb-name>
</role-source>
<cmr-field>
<cmr-field-name>solutionds</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
the deployment (under beaWebLogic 6.0) succed but if i use that relation
and the the method "mentioned above" i get a run time execution error
java.rmi.MarshalException: error marshalling return; nested exception
is:
java.io.NotSerializableException:
solution.SolutionBean_WebLogic_CMP_RDB
MS_solutionds_Set
java.io.NotSerializableException:
solution.SolutionBean_WebLogic_CMP_RDBMS_solut
ionds_Set
<<no stack trace available>>
thanks a lot for a help
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".