Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

privileges in oracle database

 
anwesh maity
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an oracle database in which there is a table called users

the table consists of various fields like

1.username
2.password
3.role
4.address

in the role there are two types of roles "admin" and "user"

the "admin" in the table can insert,update or delete the table but the user can't

do i have to set these previlages for the "admin" in the oracle database manually or i have to do it through my jdbc application???

[edited to Use a meaningful subject line]
[ April 10, 2008: Message edited by: Jeanne Boyarsky ]
 
Agador Paloi
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if you are referring to a table created for your application.
Regardless , you should be able to update the table through an application using JDBC or an update/ insert in sql+. The user updating the user table must have the privelges to do so. You can do just about anything with a jdbc connection as long as you have the user privelges. hope this helps .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic