Issue Type: Bug Bug
Affects Versions: 3.6.10
Assignee: Unassigned
Attachments: hibernate-criteria-bug.zip
Components: query-criteria
Created: 30/Nov/12 3:59 PM
Description:

Hibernate doesn't respect fetch mode, when alias is used.

I've tested it only with Oracla 10g XE and H2 databases, but it seems to me, that it is generic issue common for all database engines.

Attached test cases. Db settings could be changed in src/main/resources/db.properties.

Probably import of Oracle driver should be done into local maven repository

One of them is finishing successfully (without aliases) but second one fails(with aliases).

No workarounds found so far.

Environment: Oracle 10g, H2
Project: Hibernate ORM
Labels: hibernate criteira fetch
Priority: Major Major
Reporter: Dionis Argiri
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