This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes privileges in oracle database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "privileges in oracle database" Watch "privileges in oracle database" New topic
Author

privileges in oracle database

anwesh maity
Greenhorn

Joined: Oct 31, 2007
Posts: 20
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

Joined: Jan 24, 2006
Posts: 118
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 .
 
rocket mass heater kickstarter
 
subject: privileges in oracle database