简体   繁体   English

ORA-00942:表或视图不存在

[英]ORA-00942: Table or view does not exist

I am passing a select query from java, it works for all table but one of the table gets an error "ora-00942 table or view does not exist". 我从Java传递了一个选择查询,它适用于所有表,但其中一个表收到错误消息“ ora-00942表或视图不存在”。 I checked grant and all, its same for all table. 我检查了Grant及其所有,所有表均相同。 But for some reason it complains abtout this particular table. 但是出于某种原因,它抱怨此特定表不正确。 But if I run the same query in sql plus it works completely fine. 但是,如果我在sql中运行相同的查询加上它完全可以正常工作。 Can someone tell me what may be the reason behind it. 有人可以告诉我背后的原因是什么。 Thank you 谢谢

我怀疑您使用的是来自sqlplus的用户,而不是使用Java程序的用户,然后该错误是由于缺少同义词/模式名称引起的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ORA-00942:即使表或视图不存在 - ORA-00942: table or view does not exist even though it does 在java中收到错误“ ORA-00942:表或视图不存在” - getting error “ORA-00942: table or view does not exist ” in java java / SQL ORA-00942表或视图不存在 - java/SQL ORA-00942 table or view does not exist @NativeQuery ORA-00942:表或视图不存在 - SpringBoot - @NativeQuery ORA-00942: table or view does not exist - SpringBoot ORA-00942:表或视图不存在:如何查找它正在讨论的表或视图 - ORA-00942: table or view does not exist : How do I find which table or view it is talking about 获取异常 ORA-00942: 表或视图不存在 - 插入现有表时 - Getting an exception ORA-00942: table or view does not exist - when inserting into an existing table 异常ORA-00942:表或视图不存在-使用休眠会话插入现有表时 - exception ORA-00942: table or view does not exist - when inserting into an existing table using hibernate session java.sql.SQLSyntaxErrorException:ORA-00942:表或视图不存在Spring数据源 - java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist Spring Data source 休眠:SQLGrammarException:无法执行JDBC批更新和BatchUpdateException:ORA-00942:表或视图不存在 - Hibernate: SQLGrammarException: Could not execute JDBC batch update AND BatchUpdateException: ORA-00942: table or view does not exist Hibernate引起:java.sql.SQLException:ORA-00942:表或视图不存在 - Hibernate Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM