BasicFormatter attempts to format keywords within []
----------------------------------------------------
Key: HHH-6175
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6175
Project: Hibernate Core
Issue Type: Bug
Environment: NHibernate 3.1.0.4000, MS Sql Server 2008 R2
The code for BasicFormatter appears to be a direct translation from the Java version - I
fully expect the same issue to manifest in both
Reporter: andrew jones
Priority: Minor
If a column name contains spaces and a keyword (for instance, [Employee Group])
BasicFormatter will format the keyword as though it were an SQL keyword (in the above
example "[Employee\r\n\tGROUP]"). This might be fixed by adding a call to an
overloaded ExtractStringEnclosedBy(string startChar, string endChar) in the Perform method
(although I'm not 100% certain that would not have side effects).
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira