[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3825?page=c...
]
Diego Plentz commented on HHH-3825:
-----------------------------------
If we go ahead with the idea that hibernate 3.5 will be java 5 compatible, this could be
improved a little by becoming a varargs method.
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