|
Within the class comment of my InventoryBean I've
included the following @jboss tag:
* @jboss.unknown-pk
* class="InventoryBean" * field-name="inventoryId" * column-name="inventory_id" * jdbc-type="INTEGER" * sql-type="INTEGER" * auto-increment="true" * @jboss.entity-command * name="postgresql-fetch-seq" Including the tag seems to have no effect on my
generated jbosscmp-jdbc.xml. I would expect the following text to be
inserted into the deployment descriptor, however:
<unknown-pk> <unknown-pk-class>java.lang.Integer</unknown-pk-class> <field-name>inventory_id</field-name> <column-name>inventory_id</column-name> <jdbc-type>INTEGER</jdbc-type> <sql-type>INTEGER</sql-type> <auto-increment/> </unknown-pk> <entity-command name="postgresql-fetch-seq"/> I've tried generating with XDoclet 1.2 and 1.2.1,
to no avail. Anyone have any suggestions?
Cheers,
Shaun
|
