[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-928) Generate semi-full constructor (ommiting fields with default values)
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Fri Apr 13 03:48:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26708 ]
Max Rydahl Andersen commented on HBX-928:
-----------------------------------------
hmm...maybe i'm wrong for some db's but if you insert a null the value will be set to null not the default value.
its only in the case of the value not being there and hence you need to use dynamic-insert before this becomes relevant.
please verify.
> Generate semi-full constructor (ommiting fields with default values)
> --------------------------------------------------------------------
>
> Key: HBX-928
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-928
> Project: Hibernate Tools
> Issue Type: New Feature
> Components: hbm2java, hbm2seam, reverse-engineer
> Environment: all
> Reporter: MG
> Priority: Minor
>
> In case if database table definition has default values on some fields generate additional semi-full constructor which only includes fields which do not have default values.
>
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list