J2EE的HQL语句
为什么控制台已经执行了HQL语句,还是抛出异常呢,求解释例如下面这个:
Hibernate: /* select a.serverTypeId,a.serverTypeName from SendServerTyep a */ select sendserver0_.serverTypeId as col_0_0_, sendserver0_.serverTypeName as col_1_0_ from fjjtrc.dbo.send_serverTyep sendserver0_
2012-02-27 14:59:31 [http-8080-1:0] - [ERROR] 单位服务类型信息读取错误!
Hibernate: /* insert com.fjjtrc.model.SendServerTyep */ insert into fjjtrc.dbo.send_serverTyep (serverTypeName) values (?)
2012-02-27 15:23:57 [http-8080-1:1466172] - [ERROR] 添加服务类型信息失败!-------注:(已经添加到数据库)
[ 本帖最后由 lqh921 于 2012-2-27 15:35 编辑 ]