[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2019) Provide a way to unset properties, and/or provide a 'none' option for hbm2ddl.auto

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Aug 21 17:38:19 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2019?page=all ]
     
Emmanuel Bernard resolved HHH-2019:
-----------------------------------

    Resolution: Rejected

Did you try?

> Provide a way to unset properties, and/or provide a 'none' option for hbm2ddl.auto
> ----------------------------------------------------------------------------------
>
>          Key: HHH-2019
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2019
>      Project: Hibernate3
>         Type: Improvement

>  Environment: hibernate / annotations / hibernate.properties
>     Reporter: Dave E Martin
>     Priority: Minor

>
>
> It may occasionally be desirable to programmatically get rid of or override a property value, this is generally allowed for by the .setProperty method, however:
> Once hbm2ddl.auto is set to something, there is no way to unset it, or set it to a value which would be equivalent to its being unset (or its undocumented). There is no remove or unset, or deleteProperty, and also setting it to null does not work.
> Due to issues such as HHH-2018, it may be necessary to programmatically 'get rid of' hbm2ddl.auto even if the end user (or some other mechanism) has specified a value for it in an external hibernate.properties file (or other method of setting hibernate properties).

-- 
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