This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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