• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

ORA-01031 error in WSAD

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 42160
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic