Allow variable arguments in Session.createQuery(...)
----------------------------------------------------
Key: HHH-3825
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3825
Project: Hibernate Core
Issue Type: Improvement
Reporter: Ricardo Mayerhofer
Priority: Minor
I think variable arguments in createQuery would really simplify its syntax.
E.g.:
createQuery( "select from Clazz c where c.attribute = ?", value );
instead of
Query query = createQuery( "select from Clazz c where c.attribute = ?" );
query.setParam( 0, value );
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira