Two Laptop Bag*
The moose likes JDBC and the fly likes table access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "table access" Watch "table access" New topic
Author

table access

mike cool
Greenhorn

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)
thx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: table access
 
Similar Threads
Please Help!!! Generic Database Access Class
Generic Database Class
Many-to-many probelm help
Sun's feelings about stored procedures
Workflow