Hi,
I need to set the database type of my pk field on a
Hibernate persisted class. To make this work xdoclet
must create this on the .hbm.xml file :
<id
name="idCity"
type="java.lang.Long"
>
<column
name="ID_CITY
sql-type="INTEGER"
/>
<generator class="vm">
</generator>
</id>
But I do not know how to make xdoclet create this.
I try this :
/**
* @hibernate.id generator-class="vm" name="idCity"
type="java.lang.Long"
* @hibernate.column name="ID_CITY" sql-type="INTEGER"
*/
but it dont work.
Thanks.
Andre S.
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user