The following issue has been updated: Updater: Paul Galbraith (mailto:[EMAIL PROTECTED]) Date: Thu, 28 Apr 2005 8:25 AM Changes: Component changed to Hibernate Module --------------------------------------------------------------------- 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 Components: Hibernate Module Versions: 1.2.3 Assignee: xdoclet-devel (Use for new issues) Reporter: Bronisław Truszkowski Created: Mon, 25 Apr 2005 7:23 AM Updated: Thu, 28 Apr 2005 8: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.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel