• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

ORA-01031 error in WSAD

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I have a java program that deletes data from an Oracle database table and then populates it with another set of data.When I try to run the java program, it is giving me the following error:
xyz.server.db.DBException: Unable to execute the SQL Query in executeUpdate method of given status : ORA-01031: insufficient privileges
this is the exception that I have caught.I am able to run other java programs that have similar functionality and they work fine!

Looking forward for help ASAP as it is one of my "have to do's".
Many Thanks in Advance,
Prabha
 
author & internet detective
Posts: 40198
816
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prabha,
Are you sure that you have write permission on this table? Try to run the same query at the Oracle command line and see if it works there.
There's a JDBC question near the top of the main page. For the future, you may get a faster response there.
 
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic