Discussion:
[Middlegen-user] Missing <cmp-field></cmp-field> in jbosscmp-jdbc.xml ?
Asgeir Østerhus
2002-07-31 07:02:03 UTC
Permalink
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
Kasper Nielsen
2002-07-31 07:12:05 UTC
Permalink
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: middlegen-***@lists.sourceforge.net
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
Asgeir Østerhus
2002-07-31 11:01:02 UTC
Permalink
Thanks!

That was the solution. EJB's deployed and tested OK.

8-)
Asgeir

----- Original Message -----
From: Kasper Nielsen
To: Asgeir Østerhus ; middlegen-***@lists.sourceforge.net
Sent: Wednesday, July 31, 2002 11:11 AM
Subject: Re: [Middlegen-user] Missing <cmp-field></cmp-field> in jbosscmp-jdbc.xml ?


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: middlegen-***@lists.sourceforge.net
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
Eivind Waaler
2002-07-31 10:10:02 UTC
Permalink
That line was removed from the template some weeks ago (11 july):

http://cvs.middlegen.sourceforge.net/cgi-bin/viewcvs.cgi/middlegen/middlege=
n/plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm.diff=
?r1=3D1.18&r2=3D1.19

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

=2Eeivind
Post by Kasper Nielsen
its a bug (in xdoclet), you need to modify entity-cmp-20.vm
=20
Original line
=20
#if(!($column.fk && !$plugin.fkcmp))
=20
modify to
#if(!($column.fk && !$plugin.fkcmp))
=20
=20
- Kasper
----- Original Message -----=20
From: Asgeir =D8sterhus=20
Sent: Wednesday, July 31, 2002 11:05 AM
Subject: [Middlegen-user] Missing <cmp-field></cmp-field> in jbosscmp-j=
dbc.xml ?
Post by Kasper Nielsen
=20
=20
Hello,
=20
I downloaded Middlegen from CVS 30.07.2002.
=20
And now it seams like the <cmp-field> entries in jbosscmp-jdbc.xml is m=
issing.
Post by Kasper Nielsen
I have tried with and without fkcmp=3D"false"...
=20
<entity>
<ejb-name>ContactObj</ejb-name>
<table-name>CONTACT</table-name>
=20
<!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
=20
</entity>
=20
=20
<entity>
<ejb-name>ContactObj</ejb-name>
<table-name>CONTACT</table-name>
=20
<cmp-field>
<field-name>adminarea</field-name>
<column-name>ADMINAREA</column-name>
</cmp-field>
=20
=20
<!-- and lot more cmp-field's -->
=20
<!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
=20
</entity>
=20
And I am using my own middlegen.DbNameConverter class.
=20
Any ideas?=20
=20
8-)
Asgeir
=20
=20
Kasper Nielsen
2002-07-31 11:55:02 UTC
Permalink
It doesn't screw up anything. I think it's safe to put back in.
The tag is supposed to be deprecated....

- Kasper

----- Original Message -----
From: "Eivind Waaler" <***@tihlde.org>
To: "Kasper Nielsen" <***@kav.dk>
Cc: "Asgeir Østerhus" <***@oesterhus.com>;
<middlegen-***@lists.sourceforge.net>
Sent: Wednesday, July 31, 2002 2:09 PM
Subject: Re: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?


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?r
1=1.18&r2=1.19

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

.eivind
Post by Kasper Nielsen
its a bug (in xdoclet), you need to modify entity-cmp-20.vm
Original line
#if(!($column.fk && !$plugin.fkcmp))
modify to
#if(!($column.fk && !$plugin.fkcmp))
- Kasper
----- Original Message -----
From: Asgeir Østerhus
Sent: Wednesday, July 31, 2002 11:05 AM
Subject: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?
Post by Kasper Nielsen
Hello,
I downloaded Middlegen from CVS 30.07.2002.
And now it seams like the <cmp-field> entries in jbosscmp-jdbc.xml is
missing.
Post by Kasper Nielsen
I have tried with and without fkcmp="false"...
<entity>
<ejb-name>ContactObj</ejb-name>
<table-name>CONTACT</table-name>
<!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
</entity>
<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
a***@netcom.no
2002-07-31 12:07:04 UTC
Permalink
I'll rather fix the bug in XDoclet and commit new XDoclet binaries.
Don't change it, Eivind ;-)

Aslak

----- Original Message -----
From: "Kasper Nielsen" <***@kav.dk>
Date: Wednesday, July 31, 2002 3:53 pm
Subject: Re: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?
Post by Kasper Nielsen
It doesn't screw up anything. I think it's safe to put back in.
The tag is supposed to be deprecated....
- Kasper
----- Original Message -----
Sent: Wednesday, July 31, 2002 2:09 PM
Subject: Re: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?
http://cvs.middlegen.sourceforge.net/cgi-
bin/viewcvs.cgi/middlegen/middlegen/plugins/entitybean/src/middlegen/plu
gins/entitybean/entity-cmp-20.vm.diff?r
Post by Kasper Nielsen
1=1.18&r2=1.19
Did it screw up something else, or would it be safe to put back in
there?
.eivind
Post by Kasper Nielsen
its a bug (in xdoclet), you need to modify entity-cmp-20.vm
Original line
#if(!($column.fk && !$plugin.fkcmp))
modify to
#if(!($column.fk && !$plugin.fkcmp))
- Kasper
----- Original Message -----
From: Asgeir �sterhus
Sent: Wednesday, July 31, 2002 11:05 AM
Subject: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?
Post by Kasper Nielsen
Hello,
I downloaded Middlegen from CVS 30.07.2002.
And now it seams like the <cmp-field> entries in jbosscmp-
jdbc.xml is
missing.
Post by Kasper Nielsen
I have tried with and without fkcmp="false"...
<entity>
<ejb-name>ContactObj</ejb-name>
<table-name>CONTACT</table-name>
<!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
</entity>
<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
https://lists.sourceforge.net/lists/listinfo/middlegen-user
-------------------------------------------------------
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_code=31
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Eivind Waaler
2002-07-31 12:09:08 UTC
Permalink
I added the tag again to the template in cvs. Let me know if it creates
any problems.. :) We'll remove it again once the xdoclet bug has been
fixed.

=2Eeivind
Post by Kasper Nielsen
It doesn't screw up anything. I think it's safe to put back in.
The tag is supposed to be deprecated....
=20
- Kasper
=20
----- Original Message -----
Sent: Wednesday, July 31, 2002 2:09 PM
Subject: Re: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?
=20
=20
=20
http://cvs.middlegen.sourceforge.net/cgi-bin/viewcvs.cgi/middlegen/middle=
gen
Post by Kasper Nielsen
/plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm.dif=
f?r
Post by Kasper Nielsen
1=3D1.18&r2=3D1.19
=20
Did it screw up something else, or would it be safe to put back in there?
=20
.eivind
=20
=20
Post by Kasper Nielsen
its a bug (in xdoclet), you need to modify entity-cmp-20.vm
Original line
#if(!($column.fk && !$plugin.fkcmp))
modify to
#if(!($column.fk && !$plugin.fkcmp))
- Kasper
----- Original Message -----
From: Asgeir =D8sterhus
Sent: Wednesday, July 31, 2002 11:05 AM
Subject: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml ?
Post by Kasper Nielsen
Hello,
I downloaded Middlegen from CVS 30.07.2002.
And now it seams like the <cmp-field> entries in jbosscmp-jdbc.xml is
missing.
Post by Kasper Nielsen
I have tried with and without fkcmp=3D"false"...
<entity>
<ejb-name>ContactObj</ejb-name>
<table-name>CONTACT</table-name>
<!-- merge point: jbosscmp-jdbc-load-{0}.xml -->
</entity>
<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
=20
=20
=20
-------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/middlegen-user
=20
=20
=20
-------------------------------------------------------
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_code=3D31
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
=20
Loading...