[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2177) query parameters could be properties of supplied class
Amir Pashazadeh (JIRA)
noreply at atlassian.com
Wed Oct 25 08:33:05 EDT 2006
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