Hi,

Jboss can't find proper attribute in the postgresql database where field
have '_' characters.
For exemple, Jboss returns: ERROR: Attribute 'fkpersontypeid' not found
when field in database is fk_persontype_id.
When editing jbosscmp-jdbc.xml to add :

         <cmp-field>
            <field-name>fkPersontypeId</field-name>
                        <column-name>fk_persontype_id</column-name>
         </cmp-field>

in section :
      <entity>
         <ejb-name>Person</ejb-name>
         <table-name>person</table-name>
         ...

before building the jar, it works fine.

The xdoclet tag
     * @ejb.persistence column-name="fk_persontype_id"
is present in the source code generated by middlegen.

It seems that it's an xdoclet problem:
what do you think of that ?
Is there a difference between mainstream xdoclet and xdoclet in
middlegen ?
I may post the same message in xdoclet-user ml ?


Thx,
Eric.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to