[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3396) minus sign in entity name causes invalid SQL
Stefan Wachter (JIRA)
noreply at atlassian.com
Wed Jul 23 13:42:12 EDT 2008
minus sign in entity name causes invalid SQL
--------------------------------------------
Key: HHH-3396
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3396
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.6
Environment: MySQL 5.0
Reporter: Stefan Wachter
An entity name that contains a minus sign leads to invalid SQL. The reason is that the minus signs are not replaced when alias names are derived from entity names.
Maybe the org.hibernate.util.StringHelper.generateAliasRoot(String description) could replace minus signs by underscores? At the moment only "/" and "$" characters are replaced.
--
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