Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

table access

 
mike cool
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
thx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic