private static final ThreadLocal<Session> threadLocal = new ThreadLocal<Session>(); 这一行提示 multiple es at this line the type ThreadLocal is not generic;it connot be parameterized with arguments<Session> the type ThreadLocal is not generic;it connot be parameterized with arguments<Session>
楼主截止到2008-06-22 09:56:41的汇总数据:
注册日期:2008-5-20
上次登录:2008-6-22
发帖数:1 发帖分:20
结贴数:0 结贴分:0
结贴率:0.00 % 结分率:0.00 %
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
才可以用session工厂啊
可自动生成的hibernateSessionFactory中ThreadLoca出错了
问一下,还需要导什么包,或是该怎么解决呢,先谢啦
这一行提示
multiple es at this line
the type ThreadLocal is not generic;it connot be parameterized with arguments<Session>
the type ThreadLocal is not generic;it connot be parameterized with arguments<Session>