Loading...

hibernate-dev@lists.jboss.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

[hibernate-dev] deprecate positional parameters? Steve Ebersole Fri Feb 03 21:09:25 2012

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")

-- 
[EMAIL PROTECTED]
http://hibernate.org
_______________________________________________
hibernate-dev mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/hibernate-dev