From: <leg...@at...> - 2003-09-04 18:15:33
|
Message: The following issue has been closed. Resolver: Max Rydahl Andersen Date: Thu, 4 Sep 2003 1:15 PM Fixed in cvs --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-309 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-309 Summary: hbm2java: render default values specified in mapping in default constructor Type: New Feature Status: Closed Priority: Minor Resolution: FIXED Project: Hibernate2 Components: toolset Fix Fors: 2.1 Assignee: Reporter: Klaus Zimmermann Created: Thu, 4 Sep 2003 10:12 AM Updated: Thu, 4 Sep 2003 1:15 PM Description: It would be nice to be able to specify default values in the mapping (via a meta-attribute?) which then would be rendered into the default constructor of automatically generated classes. Suggested syntax: <class name="foo"> <property name="name" type="string"> <meta attribute="default-value">bar</meta> </property> </class> --------------------------------------------------------------------- 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/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |