> I want to get a jbosscmp-jdbc.xml file with entries for DB fields like > > <cmp-field> > <field-name>id</field-name> > <column-name>Id</column-name> > <jdbc-type>INTEGER</jdbc-type> > <sql-type>INTEGER(8)</sql-type> > </cmp-field> > > The tags I've added to the source methods are the following type > > @jboss.sql-type type="INTEGER(8)" > @jboss.cmp-field field-name="id" column-name="Id" > > > Yet when I generate, and look at the generated jbosscmp-jdbc.xml all I > get are entries like > <cmp-field> > <field-name>id</field-name> > </cmp-field>
I'll answer my own question ... the first problem was that it should have read @jboss.column-name name="Id", but that only gets the <column-name> tag included. To get the <sql-type> included in the output file, you seem to have to add the @jboss.jdbc-type tag to your class as well as the @jboss.sql-type tag. Is there a good reason for this, or is it a bug ? -- Andy ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
