我得到以下异常:
Caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet;
Caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
[jcc][10143][10845][4.19.49] Invalid parameter 1: Parameter is not set nor registered. ERRORCODE=-4461, SQLSTATE=42815 exception.
使用了Hibernate版本 - 4.3.10.Final 使用的Spring版本 - 4.1.7.RELEASE 使用的DB2版本 - db2jcc4 4.19.49
为了获取记录,我们正在使用HibernateTemplate。看起来问题可能是因为HibernateTemplate。
请帮忙。