java问题!各位帮帮忙!

来源:百度知道 编辑:UC知道 时间:2024/06/01 06:49:49
Caused by: org.springframework.orm.hibernate3.HibernateQueryException: Expected positional parameter count: 2, actual parameters: [[Ljava.lang.Object;@891d76] [from Controller where conName=? and conPws=?]; nested exception is org.hibernate.QueryException: Expected positional parameter count: 2, actual parameters: [[Ljava.lang.Object;@891d76] [from Controller where conName=? and conPws=?]
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:642)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:917)
at org.springframework.orm.hibernate3.Hibern