[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6666?page=c...
]
Amir Pashazadeh commented on HHH-6666:
--------------------------------------
Well, by using Query.setProperties, we can not access to nested properties as
":otherDepartment.manager.name".
Add support for nested properties of named parameters in HQL
queries.
---------------------------------------------------------------------
Key: HHH-6666
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6666
Project: Hibernate Core
Issue Type: Improvement
Components: query-hql
Affects Versions: 3.6.7
Reporter: Amir Pashazadeh
We can not pass an object as query parameter, and use its properties in the HQL
Isn't it good to have a query like:
{code}
from Department d where d.name = :other.name and d.establishDate != :other.establishDate
{code}
and then pass an object with *name* and *address* with *other* name?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira