[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2139?page=all ]
Christian Bauer reopened HHH-2139:
----------------------------------
Iterating a joined-subclass query
---------------------------------
Key: HHH-2139
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2139
Project: Hibernate3
Type: Bug
Components: query-hql
Versions: 3.1.3
Environment: Hibernate 3.1.3, PostrgreSQL 8.0.3
Reporter: Flavio Suguimoto
Priority: Minor
In a joined-subclass structure when trying to use query.iterate(), to use cache and lazy,
hibernate translate the query "from Activation activation where activation.class =
Activation" to an mal-formed SQL query. The SQL query string that it creates is
"select activation0_.id as col_0_0_ from activation activation0_ where case when
activation0_1_.fk_id_activation is not null then 1 when activation0_.id is not null then 0
end=0".
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira