[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2761) Handle null and empty string consistently in PropertiesHelper
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Aug 1 22:44:11 EDT 2007
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
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