[hibernate-dev] deprecate positional parameters?

Steve Ebersole steve at hibernate.org
Fri Feb 3 07:47:17 EST 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")

-- 
steve at hibernate.org
http://hibernate.org



More information about the hibernate-dev mailing list