Positional parameter are considered deprecated; use named parameters or JPA-style positional paramet.
hibernate4.1之后对于HQL中查询参数的占位符做了改进,如果仍然用老式的占位符会有类似如下的告警信息:[main]WARN[org.hibernate.hql.internal.ast.HqlSqlWalker]–[DEPRECATION]Encounteredpositionalparameternearline1,column95.Positionalparameterarecons