It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes table access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "table access" Watch "table access" New topic

table access

mike cool

Joined: Oct 21, 2005
Posts: 24
hi all
i have a problem understanding the logic of using java with database

i use derby as a database

let say i have a customer , product; order;and orderline table

using java code ,i will create a client and then i will insert this client into the table

but now this client waht permissions i will give hime to all tables?

1-client can update his profile but not the id
2-he can order product, update his order, remove his order if it's not confirmed

how can i do this?

note : this is not school assignment , and i don't want the code i just want you guys to explain me the logic (what will do what)
I agree. Here's the link:
subject: table access
It's not a secret anymore!