Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Unassigned
Priority: Minor
Project: Hibernate2
Components:
toolset
Assignee:
Reporter: Klaus Zimmermann
Created: Thu, 4 Sep 2003 10:12 AM
Updated: Thu, 4 Sep 2003 10:12 AM
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
|