[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5600) Value of hibernate.hbm2ddl.auto not trimmed of whitespace
Matt Brown (JIRA)
noreply at atlassian.com
Tue Sep 28 17:23:58 EDT 2010
Value of hibernate.hbm2ddl.auto not trimmed of whitespace
---------------------------------------------------------
Key: HHH-5600
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5600
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.5.4
Environment: Hibernate version 3.5.4-Final, PostgreSQL dialect
Reporter: Matt Brown
Priority: Trivial
Hibernate does not seem to trim any possible whitespace from the value of the hibernate.hbm2ddl.auto property when parsing.
For example, an accidentally mis-configured value of "update " (with whitespace at the end) is not recognized as a valid option. This results in Hibernate quietly ignoring what seems to be, at first glance, a valid value for the property.
Considering how easy it can be to accidentally add whitespace to the end of a plaintext file (such as a .properties file format), I think it would make sense for ease of use if these values were trimmed of whitespace before being interpreted.
--
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