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

Dave E Martin (JIRA) noreply at atlassian.com
Mon Aug 21 13:20:19 EDT 2006


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