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 · 9965 阅读 · 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 · 617 阅读 · 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 · 495 阅读 · 0 评论
分享