oracle创建表 报"ORA-00904: : invalid identifier 的问题"
配置sessionFactory 中加入 <prop key="hibernate.hbm2ddl.auto">create</prop> ,
用 hibernate 在oracle上自动创建一张表时,总创建不成功,仔细查看黑窗口 ,提示
where c_desc="dwda"
?
对于在创建表时报该种错,后来发现字段DESC 貌似是关键字,将DESC修改为 C_DESC问题当即解决。