This bug is still present. Please reopen it. If the WHERE condition contains a class name of an entity then the class name will be replaced with the full qualified class name. Example: de/container/Phase.java with a field comment. The WHERE condition comment LIKE 'This is a test, Phase 1' will lead to a completely wrong HQL statement: SELECT phase FROM de.container.Phase phase WHERE phase.comment LIKE 'This is a test, de.container.Phase 1' The correct HQL statement should be: SELECT phase FROM de.container.Phase phase WHERE phase.comment LIKE 'This is a test, Phase 1' |