首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle创建表 报"ORA-00904: : invalid identifier 的有关问题"

2012-09-08 
oracle创建表 报ORA-00904: : invalid identifier 的问题配置sessionFactory 中加入 prop keyhiberna

oracle创建表 报"ORA-00904: : invalid identifier 的问题"

配置sessionFactory 中加入 <prop key="hibernate.hbm2ddl.auto">create</prop> ,

用 hibernate 在oracle上自动创建一张表时,总创建不成功,仔细查看黑窗口 ,提示

where c_desc="dwda"

?

对于在创建表时报该种错,后来发现字段DESC 貌似是关键字,将DESC修改为 C_DESC问题当即解决。

热点排行