Hello,
I saw a thread regarding this, but seems that there was no conclusive
solution.
I want the <column..../> tag inside <id .....></id> in my *.hbm.xml
hibernate mapping file.
I am trying
/**
* @hibernate.id
* name="id"
* unsaved-value="null"
* type="long"
* generator-class="native"
* @hibernate.column
* name="ID"
* sql-type="NUMBER(15,0)"
*
*/
But this is not working. It still creates as (for oracle)
<id name="id" column="id" type="long" unsaved-value="null">
<generator class="native" />
</id>
This results in a schema being created with id as NUMBER(19,0).
Where as what I want is this :
<id name="id" column="id" type="long" unsaved-value="null">
<generator class="native" />
<column name="id" sql-type="NUMBER(15,0) />
</id>
I am I also saw a mail saying that there was a patch for this
(http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?
key=XDT-737 ). I am not sure though if this patch has been incorporated
in the latest stable download. If not, what do I need to do to get
around this issue.
Any info would be appreciated.
Thanks
Shishir
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user