Hi,
 
Wondering if anyone has some examples that they could share of xdoclet generating a correct ejb-jar.xml and orion-ejb-jar.xml from bean source.
 
The documentation is sparse (to be polite) about Orion tags.  I've been digging through the source trying to figure it out, but the olddocs usages cause exceptions, and trying to deduce the right new ones from the DTD in the source isn't working.
 
For instance:
* @ejb.persistent-field column-name="contractType"
* @ejb.relation
*   name="Contract-ContractType"
*   role-name="contract-has-contractType"
*   target-ejb="ContractType"
* @orion.cmp-field-mapping name="contractType" persistence-name="contractType" ejb-reference-home="ContractType"
* @orion.entity-ref home="ContractType"
creates the relation, but no entity-ref in the CMP mapping.
 
         <cmp-field >
            <description><![CDATA[]]></description>
            <field-name>contractType</field-name>
         </cmp-field>
 
It's entirely possible that I'm mixing my EJB1 and EJB2 expectations here, and so I thought someone who had a reasonably complex working example might pass it along so I can see what works.
 
Thanks,
 

Reply via email to