from TopicResult tr ,ContentPage cp where tr.pageId=cp.id and tr.themes=? tr.datetime=?
为什么是空指针异常?
Exception in thread "main" java.lang.NullPointerException
at com.ftsoft.buzzfocus.commons.SimpleHibernateDao.find(SimpleHibernateDao.java:209)
at com.ftsoft.buzzfocus.service.ThemeService.getAllTheme(ThemeService.java:23)
at Test.main(Test.java:7)
...全文
737打赏收藏
这个hibernate联合查询语句哪里错了 谢谢
from TopicResult tr ,ContentPage cp where tr.pageId=cp.id and tr.themes=? tr.datetime=? 为什么是空指针异常? Exception in thread "main" java.lang.NullPointerException at com.ftsoft.buzzfocus.commons.SimpleHibernateDao.find(SimpleHibernateDao.java:209) at com.f