Greetings,

I'm generating EJB tags for weblogic. However I'm getting the following
error when deploying my application in weblogic 7.0:

In EJB Primitive, all cmp/cmr fields must start with a lower case
letter, field: 'fieldName' does not.

My bean class has the following xdoclet tag:

    /**
     * @ejb.persistence
     *  column-name="ptype_id"
     *  jdbc-type="NUMERIC"
     * @ejb.interface-method
     *  view-type="local"
     */
    public abstract int getPTypeId();
    public abstract void setPTypeId(int pTypeId);

The generated ejb-jar.xml has the following element: 

        <cmp-field >
            <description><![CDATA[]]></description>
            <field-name>PTypeId</field-name>
         </cmp-field>

And also in weblogic-cmp-rdbms-jar.xml has:

      <field-map>
         <cmp-field>PTypeId</cmp-field>
         <dbms-column>ptype_id</dbms-column>
      </field-map>

So, it's xdoclet (1.2final) generating wrong the descriptors or am I
missing something?

thanks.

Regards,
Pedro Salazar.
-- 
-PS



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to