Hi All,

I'm not sure what I'm doing wrong here; I have an entity bean called Post
(that's the ejb-name), which is being generated correctly apart from the
following:

When I create a file ${MERGEDIR}/jbosscmp-jdbc-load-Post.xml (with load
groups for the Post bean) it doesn't merge into the generated
jbosscmp-jdbc.xml; the entity section still looks like this:

====
      <entity>
         <ejb-name>Post</ejb-name>
         <create-table>true</create-table>
         <remove-table>false</remove-table>
         <pk-constraint>true</pk-constraint>
             <read-ahead>
                <strategy>on-find</strategy>
                        <eager-load-group>all</eager-load-group>
         </read-ahead>
         <table-name>nblog_post</table-name>

         <cmp-field>
            <field-name>postId</field-name>
            <column-name>post_id</column-name>

            <jdbc-type>INTEGER</jdbc-type>
            <sql-type>INT</sql-type>

         </cmp-field>
         <cmp-field>
            <field-name>postContent</field-name>
            <column-name>post_content</column-name>

            <jdbc-type>CLOB</jdbc-type>
            <sql-type>TEXT</sql-type>

         </cmp-field>

         <!-- merge point: jbosscmp-jdbc-load-{0}.xml -->

      </entity>
====

Am I doing something wrong or is this a bug?

For reference my jbosscmp-jdbc-load-Post.xml file looks like this:
====
<load-groups>
   <load-group>
      <load-group-name>all</load-group-name>
      <field-name>postId</field-name>
      <field-name>postContent</field-name>
   </load-group>
</load-groups>
====

Any help would be appreciated.

Thanks,

James




-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to