I had to put in <cmp-version>2.x</cmp-version> in
the <entity> area for my ejb2.0 stuff to be 
recognized by Orion.  I did NOT need the 2.0 DTD.

-tim


> -----Original Message-----
> From: Joel Shellman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 20, 2000 6:00 AM
> To: Orion-Interest
> Subject: EJB 2.0 1-1 mapping entity-depobj problem
> 
> 
> I get the following error during deployment:
> 
> "Method public abstract CP CB.getPrefs() can not be declared abstract"
> 
>  <relationships>
>   <ejb-relation>
>    <ejb-relation-name>C-CP</ejb-relation-name>
>    <ejb-relationship-role>
>     <ejb-relationship-role-name>c-p</ejb-relationship-role-name>
>     <multiplicity>one</multiplicity>
>     <role-source>
>      <ejb-name>C</ejb-name>
>     </role-source>
>     <cmr-field>
>      <cmr-field-name>prefs</cmr-field-name>
>      <cmr-field-type>CP</cmr-field-type>
>     </cmr-field>
>    </ejb-relationship-role>
>    <ejb-relationship-role>
> 
> <ejb-relationship-role-name>contactprefs-belongs-to-contact</e
> jb-relationshi
> p-role-name>
>     <multiplicity>one</multiplicity>
>     <role-source>
>      <dependent-name>CP</dependent-name>
>     </role-source>
>     </ejb-relationship-role>
>   </ejb-relation>
>  </relationships>
> 
> In the CP bean, I have:
> public abstract CP getprefs();
> 
> What's wrong with that?
> 
> Thanks,
> 
> Joel Shellman
> 
> 
> 

Reply via email to