[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-869?page=co...
]
y360 commented on HHH-869:
--------------------------
A workaround that uses Criteria API with collection of values:
entityCriteria.add(Restrictions.sqlRestriction("{alias}.id in (select e.id from
entities_table e, values_table v where e.id = v.entity_id and v.field = ?)", value),
Hibernate.INTEGER)) ;
Querying collections of value type in the Criteria API
------------------------------------------------------
Key: HHH-869
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-869
Project: Hibernate3
Type: Improvement
Components: core
Versions: 3.1 beta 1
Reporter: Alexey Kaigorodov
Priority: Minor
--
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