Shaun wrote:
> 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 know this is a question specific to JBoss (which I haven't used), but
what other tags did you specify for the PK? Perhaps XDoclet needs both
the JBoss tags and the following.

    @ejb.pk class = "java.lang.Object"
            generate = "False"

The second one is to avoid an XDoclet bug where it attempts to generate
a PK class for j.l.O.

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to