That line was removed from the template some weeks ago (11 july):

http://cvs.middlegen.sourceforge.net/cgi-bin/viewcvs.cgi/middlegen/middlegen/plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm.diff?r1=1.18&r2=1.19

Did it screw up something else, or would it be safe to put back in there?

.eivind

On Wed, 31 Jul 2002, Kasper Nielsen wrote:

> its a bug (in xdoclet), you need to modify entity-cmp-20.vm
> 
> Original line
> 
> #if(!($column.fk && !$plugin.fkcmp))
>     * @ejb.persistence column-name="$column.sqlName"
> 
> modify to
> #if(!($column.fk && !$plugin.fkcmp))
>     * @ejb.persistent-field
>     * @ejb.persistence column-name="$column.sqlName"
> 
> 
> - Kasper
>   ----- Original Message ----- 
>   From: Asgeir �sterhus 
>   To: [EMAIL PROTECTED] 
>   Sent: Wednesday, July 31, 2002 11:05 AM
>   Subject: [Middlegen-user] Missing <cmp-field></cmp-field> in jbosscmp-jdbc.xml ?
> 
> 
>   Hello,
> 
>   I downloaded Middlegen from CVS 30.07.2002.
> 
>   And now it seams like the <cmp-field> entries in jbosscmp-jdbc.xml is missing.
>   I have tried with and without fkcmp="false"...
> 
>   Now:
>         <entity>
>            <ejb-name>ContactObj</ejb-name>
>            <table-name>CONTACT</table-name>
> 
>      <!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
> 
>         </entity>
> 
>   In June:
> 
>         <entity>
>            <ejb-name>ContactObj</ejb-name>
>            <table-name>CONTACT</table-name>
> 
>            <cmp-field>
>               <field-name>adminarea</field-name>
>               <column-name>ADMINAREA</column-name>
>            </cmp-field>
> 
> 
>              <!-- and lot more cmp-field's -->
> 
>      <!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
> 
>         </entity>
> 
>   And I am using my own middlegen.DbNameConverter class.
> 
>   Any ideas? 
> 
>   8-)
>   Asgeir
> 
> 



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to