摘要:
org.springframework.orm.hibernate3.HibernateQueryException: admin is not mapped[from admin a order by a.id desc]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: admin is not mapped [from admin a order by a.id desc]是因为hql语句中 from后面必须是类名 ,因为hibernate是面向对象的。 阅读全文
posted @ 2013-01-21 13:46
dafa168
阅读(233)
评论(0)
推荐(0)
摘要:
空实体:就是说bean中没有设置进去数据,解决办法:在add.jsp页面中应该这样写:<s:textfield name="user.name" />如果集成的ibatis 就是会报错:org.springframework.dao.DuplicateKeyException: SqlMapClient operation; SQL []; 阅读全文
posted @ 2013-01-21 10:53
dafa168
阅读(420)
评论(0)
推荐(0)

浙公网安备 33010602011771号