[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6666) Add support for nested properties of named parameters in HQL queries.
Amir Pashazadeh (JIRA)
noreply at atlassian.com
Mon Sep 19 00:22:36 EDT 2011
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
More information about the hibernate-issues
mailing list