And just use named parameters?
query.setString("name", "Fritz");
I don't think have a strong opinion on that. I am fine w/ deprecating it.
What is the driving force behind? I recall that there were some Jira issues which
had some issues with positional parameters. Are they related?
--Hardy
On Feb 3, 2012, at 1:47 PM, Steve Ebersole wrote:
What do y'all think about deprecating positional parameters in
HQL? I
am talking about the HQL-specific notion here, not the JPA notion of a
positional parameter which we obviously have to continue to support.
HQL positional params are in the form:
from Cat c where c.name = ?
w/ setParameter(1, "steve")
--
steve(a)hibernate.org
http://hibernate.org
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev