[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2761) Handle null and empty string consistently in PropertiesHelper

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Aug 2 04:03:12 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27701 ] 

Max Rydahl Andersen commented on HHH-2761:
------------------------------------------

Could we apply this in the 3.2.x dev streamm too?

> Handle null and empty string consistently in PropertiesHelper
> -------------------------------------------------------------
>
>                 Key: HHH-2761
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2761
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>            Priority: Trivial
>             Fix For: 3.3
>
>
> Currently null and empty string are treated differently in PropertiesHelper.  This makes it difficult to override values or provide templates for interpolation.  For example, in the mavenized testsuite I have the following entry in hibernate.properties:
> hibernate.connection.isolation ${jdbc.isolation}
> Attempts to set this to nothing do not work, because they become an empty string, which PropertiesHelper then tries to parse as an Integer.

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