Issue Type: Bug Bug
Affects Versions: 4.2.0.Final
Assignee: Unassigned
Components: entity-manager, query-criteria
Created: 10/Apr/13 2:42 AM
Description:

During constraction criteria query using fetch("propertyName") rewrites all aliases in query. So if I make some predicate from root and after that make fetch from root, all predicates will be pointe to fetched entity. And during query execution I get exception no such field in entity.

Environment: HSQLDB 2.2.8
Project: Hibernate ORM
Labels: jpa2 criteria
Priority: Minor Minor
Reporter: Dmitry Vazilov
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