Allow composite collection elements in filters

Description

Section 6.2 of the documentation states:

"Composite element properties may not appear in a query, unfortunately."

The following post from Gavin suggests that this is "probably not very difficult".

http://forum.hibernate.org/viewtopic.php?t=924854

I would really be like to do the following:

int count = ((Integer) session.filter(myCompositeElementsColection, "select count where myProperty = ?", somePropertyValue, Hibernate.entity(SomePropertyType.class)).iterator().next()).intValue();

Thanks,
Matt.

Environment

None

Assignee

Unassigned

Reporter

MattM

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Minor
Configure