[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2177) query parameters could be properties of supplied class
Christian Bauer (JIRA)
noreply at atlassian.com
Wed Oct 25 17:40:04 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2177?page=comments#action_24989 ]
Christian Bauer commented on HHH-2177:
--------------------------------------
http://forum.hibernate.org/
> query parameters could be properties of supplied class
> ------------------------------------------------------
>
> Key: HHH-2177
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2177
> Project: Hibernate3
> Type: Improvement
> Components: query-hql
> Versions: 3.2.0.ga
> Reporter: Amir Pashazadeh
>
>
> it will be a good feature if we could have something like:
> session.createQuery("from MyEntity as m where m.firstName = :p.name and m.lastName = :p.surName").
> addParameter("p", myObject);
> so hibernate itself navigates throw parameter properties; this will reduce parameter settings a lot.
--
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.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list