• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • 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,
author & internet detective
Posts: 40198
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
    Bookmark Topic Watch Topic
  • New Topic