[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4883?page=c...
]
Steve Ebersole updated HHH-4883:
--------------------------------
Description:
If Address is a component with a many-to-one with country, then the following hql results
in invalid sql:
from Person p join p.address a join a.country c where c.name is null
The c.name is render as if the sql join had been rendered, which is correct. However, the
fragment "join a.country c" does not result in the physical sql join being
produced which is incorrect.
See
org.hibernate.test.annotations.embedded.many2one.EmbeddableWithMany2OneTest#testJoinAcrossEmbedded
as example
Unable to join across a component
---------------------------------
Key: HHH-4883
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4883
Project: Hibernate Core
Issue Type: Bug
Components: core, entity-manager, query-criteria, query-hql
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.5.0-Next
If Address is a component with a many-to-one with country, then the following hql results
in invalid sql:
from Person p join p.address a join a.country c where c.name is null
The c.name is render as if the sql join had been rendered, which is correct. However,
the fragment "join a.country c" does not result in the physical sql join being
produced which is incorrect.
See
org.hibernate.test.annotations.embedded.many2one.EmbeddableWithMany2OneTest#testJoinAcrossEmbedded
as example
--
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