Issue Type: Bug Bug
Affects Versions: 4.1.9
Assignee: Unassigned
Components: query-hql
Created: 06/Feb/13 2:51 AM
Description:

When calling Session.createQuery() with the query string
"FROM Phase phase WHERE phase.comment= 'This is a test, Phase 1'"
it is turned into
"FROM com.example.Phase phase WHERE phase.comment= 'This is a test, com.example.Phase 1'"
as shown by log output in the QueryTranslatorImpl. This is, to put it mildly, highly surprising and undesirable behaviour.

The trigger seems to be the sequence <Comma Space Entity-Name>, which triggers a transformation of the entity name into the fully qualified class name even in string literals, where that has no business happening whatsoever.

Project: Hibernate ORM
Priority: Major Major
Reporter: Daniel Gudlat
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira