![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
坐看花开
这个作者很懒,什么都没留下…
展开
-
Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
nested exception is org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister解决办法:缺少 javassist-3.15.0-GA.jar 包,版本不定。原创 2012-07-03 17:28:41 · 9701 阅读 · 1 评论 -
nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor 的原因是缺少jar包jar包名字 aopalliance.jar原创 2012-07-11 09:13:12 · 547 阅读 · 0 评论 -
使用HibernateTemplate,当返回的字段跟model不一致时的处理情况
public List getOnlineMembersByTime(String beginTime, String endTime) {final String hql = "select coi.email, count(coi.id) as onlineTimes from CustomerOnlineInfor coi where coi.beginDate between '"原创 2012-06-29 16:25:43 · 423 阅读 · 0 评论