郁闷的hibernate问题,昨天明明好好的,可是今天,老是报一个问题,请大家帮帮我,不胜感激 People.hbm.xml加到配置文件里了吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你确定没有改过这几个 .hbm.xml 文件吗?提示是读取 luntan/People.hbm.xml 文件的时候出现异常。把你的hibernate.cfg.xml 贴出来! 确实没有改-----------------------------------hibernate.properties-----------------------------------hibernate.dialect=net.sf.hibernate.dialect.SQLServerDialecthibernate.connection.driver_class=com.microsoft.jdbc.sqlserver.SQLServerDriverhibernate.connection.url=jdbc:microsoft:sqlserver://Localhost:1433;DatabaseName=Forum;SelectMethod=cursorhibernate.connection.username=sahibernate.connection.password=wsnedyhibernate.show_sql=truehibernate.c3p0.min_size=5hibernate.c3p0.max_size=20hibernate.c3p0.max_statements=50hibernate.c3p0.idle_test_period=3000 推荐用hibernate.cfg.xml来配置,用属性文件的话还得要加载类所对应的映射文件。检查下你的People和Note映射是怎样加载的? 在myelipse不能建web 错误如下 ,请高手解释 谢谢 获取局域网内一台机器的web服务名称 解决了分大大的有 jsp 删除同一类型的文件问题。 如果不用MyEclipse,如何用eclipse建立sructs项目 关于excel操作造成其它请求无响应 求书 J2EE编程指南(1.3版) 书店没得买了 怎样在servlet中,使用css样式单显示的jsp页面. jsp打印的问题 自动刷新问题 高分求助:怎样在JSP中实现一个能接受点击消息的树型控件阿~~~ 选中table后把数据导入excel中?? 请问怎样点了链 接就弹出一个窗口
-----------------------------------hibernate.properties-----------------------------------hibernate.dialect=net.sf.hibernate.dialect.SQLServerDialect
hibernate.connection.driver_class=com.microsoft.jdbc.sqlserver.SQLServerDriver
hibernate.connection.url=jdbc:microsoft:sqlserver://Localhost:1433;DatabaseName=Forum;SelectMethod=cursor
hibernate.connection.username=sa
hibernate.connection.password=wsnedy
hibernate.show_sql=true
hibernate.c3p0.min_size=5
hibernate.c3p0.max_size=20
hibernate.c3p0.max_statements=50
hibernate.c3p0.idle_test_period=3000
检查下你的People和Note映射是怎样加载的?