Springs getHibernateTemplate().find() does not work correctly with Hibernate 4 ordinal parameters.
Since ordinal parameters are deprecated in Hibernate the strategy is just to switch away from using them all together.
So we switch getHibernateTemplate().find() to getHibernateTemplate().findByNamedParam() and update the query to use named parameters vs ordinal parameters. While in
KNL-945 this was the practice a few were missed, hence this PR!
After this fix there are only 11 uses of using getHibernateTemplate().find() which are not using any parameters:
|Gradebook Classic: No positional parameters in query||Awaiting Review|