Hi Eric. OK, so you're using CVS. I'm not sure if I understood everything...

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eric
> Lacroix
> Sent: 22. juli 2002 17:34
> To: [EMAIL PROTECTED]
> Subject: [Middlegen-user] jboss cmp-field field and column name
> conversion
>
>
> 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 ?

It looks like XDoclet doesn't generate <cmp-field> elements as it should. As
you see the weblogic-cmp-rdbms-jar.xml descriptor gets them correctly
generated.

> Is there a difference between mainstream xdoclet and xdoclet in
> middlegen ?

I regularly update Middlegen with XDoclet built from CVS (every 1-2 weeks).
You can check the jar files' time stamp to see when it's from. I suggest you
build XDoclet from CVS and try again. If the problem persists, please post
an XDoclet bug report.

Aslak

> 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



-------------------------------------------------------
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