I'm no middlegen wiz, so I'm not sure if there is a configuration
setting that will do this.  If there is not, you will have to edit a
velocity template.  Middlegen will gen java files with xdoclet tags.
The java files are gen using velocity.  Jbosscmp-jdbc.xml is gen with
xdoclet.  I imagine that the velocity template is missing some xdoclet
attribute.  It looks like you need to editentity-cmp-20.vm in
middlegen-entitybean-plugin.jar

Hope that helps.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 4:21 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [Middlegen-user] jbosscmp-jdbc.xml jdbc-type and sql-type

I am seeing one major difference in the jbosscmp-jdbc.xml file that is
generated by middlegen.  Our standard one defined each attribute like
this:

         <cmp-field>
            <field-name>attentionReferenceValue</field-name>
            <column-name>ORDR_ATTENTION_REF_VALUE</column-name>
            <jdbc-type>VARCHAR</jdbc-type>
            <sql-type>VARCHAR2(30)</sql-type>
         </cmp-field>

The middlegen one looks like this:

         <cmp-field>
            <field-name>actionLineID</field-name>
            <column-name>ACLN_ACTION_LINE_ID</column-name>

         </cmp-field>

Can someone point out to me how to have the jdbc-type and sql-type
generated
for jbosscmp-jdbc.xml?

Thanks in advance,
Don Shade
Boulder, Colorado USA



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