[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3825) Allow variable arguments in Session.createQuery(...)
Ricardo Mayerhofer (JIRA)
noreply at atlassian.com
Mon Mar 23 15:08:38 EDT 2009
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list