[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5108?page=c...
]
Emmanuel Bernard commented on HHH-5108:
---------------------------------------
A workaround is to use id for comparison
cb.equals( entity.get(Entity_.association).get(AssociatedEntity_.id),
associatedEntity.getId() );
CriteriaQuery: Support equals(pathToManyToOne, entity) on entities
------------------------------------------------------------------
Key: HHH-5108
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5108
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.5.0-Final
Reporter: Emmanuel Bernard
I wonder if such a support is expected by the spec and if no, are we willing to support
it.
--
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