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". I checked grant and all, its same for all table. But for some reason it complains abtout this particular table. But if I run the same query in sql plus it works completely fine. Can someone tell me what may be the reason behind it. Thank you
- 2Post the code. Is the schema correct? Are you using a synonym?OMG Ponies– OMG Ponies2011-10-19 14:17:36 +00:00Commented Oct 19, 2011 at 14:17
- Login as the Java user (J2USER perhaps?) and run the same query.Rajesh Chamarthi– Rajesh Chamarthi2011-10-19 14:34:34 +00:00Commented Oct 19, 2011 at 14:34
Add a comment |