Handle null and empty string consistently in PropertiesHelper

Description

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.

Environment

None

Activity

Show:
Max Rydahl Andersen
August 2, 2007, 10:03 AM

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

Steve Ebersole
August 3, 2007, 5:28 AM

apply to 3.2 branch as well

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Trivial
Configure