oracle-hibernate-表或视图不存在的一种情况

2011年12月10日

先说一下环境

oralce:10.0.2.0.1
hibernate:3.3.1GA


如果确定查询的表一定存在的时候

可以看一下 hibernate的bean的配置文件

删除掉:schema="dbo"

找到 如 <column name="userID" length="32" />

的地方 改成 <column name=‘"userID"’ length="32" />;也就是只加个单引号就好了.

Hibernate

  1. 暂时没有评论.