Myeclipse整合Spring和hibernate,之后怎么配置applicationcontext.xml,我的程序整合后不能获取session

[复制链接]
查看11 | 回复4 | 2013-8-24 22:17:10 | 显示全部楼层 |阅读模式
错误不是告诉你了么。。空指针了啊。DAO 和Login类都debug下。看看是不是哪个变量有问题...
回复

使用道具 举报

千问 | 2013-8-24 22:17:10 | 显示全部楼层
你的main方法呢?你main方法的问题贴出来!...
回复

使用道具 举报

千问 | 2013-8-24 22:17:10 | 显示全部楼层
this.getHibernateTemplate().find(hql);是dao类继承了hibernateDaoSupport...
回复

使用道具 举报

千问 | 2013-8-24 22:17:10 | 显示全部楼层
DataSource呢。。...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行