The following issue has been updated:
Updater: Bronisław Truszkowski (mailto:[EMAIL PROTECTED])
Date: Mon, 25 Apr 2005 7:25 AM
Comment:
this is the corrected hibernate-column.xdt file
Changes:
Attachment changed to hibernate-column.xdt
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1360?page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1360
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1360
Summary: Hibernate - 'check' parameter for hibernate.column
Type: New Feature
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Versions:
1.2.3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Bronisław Truszkowski
Created: Mon, 25 Apr 2005 7:23 AM
Updated: Mon, 25 Apr 2005 7:25 AM
Description:
hibernate's column tag can have an attribute 'check' used to generate check
constraint in the schema generated from hbm.xml files.
The hibernate module does not support generation of the 'check' parameter - so
you have to add the checks manually eiter in the hbm.xml files or in the
database schema.
I attach 3 little lines that solve the problem. They should be added to the
hibernate-column.xdt file (line numbers 42, 43 and 44)
<XDtMethod:ifHasMethodTag tagName="hibernate.column" paramName="check">
check="<XDtMethod:methodTagValue tagName="hibernate.column" paramName="check"
/>"
</XDtMethod:ifHasMethodTag>
with this little change if you define a check in the hibernate xdoclet tags
(hibernate.column) you'll have it in the hbm's and finally - in the schema file
(when you use the schema generation tool of course).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel