Soldato
- Joined
- 5 Dec 2003
- Posts
- 2,716
- Location
- Glasgow
Hey I've got this Java project for Uni to do, it's a DVD rental system. Basically looking through my notes is getting me nowhere, it appears I have half a dozen half-completed examples of how to use databases in various ways - there is Access, Oracle, JDBC, HSQLDB and DB4O, just wondering if anyone can give me some guidance on what is the easiest method for me to choose to do my project using Netbeans? (Oracle obviously isn't an option as don't have it on the home PC) Then I can research that myself and figure out how to use it as my lecture notes are diabolical.
Also, getting a step ahead of myself, I really am struggling to visualise how I am going to use the database, I mean I have my class diagram with a customers class where they will put in their details and a DVD class for adding or removing DVDs and that will go into its own DB table I guess but I don't know the best way to say a DVD is rented or returned/in stock or whatever, does anyone have any ideas on this? I guess some kind of orders table with a unique ID? But what if I have a number of the same DVD? And do I need to transfer DB rows from the DVD table to the customer table and back? Just seems to confuse me more I think about it.
Also, getting a step ahead of myself, I really am struggling to visualise how I am going to use the database, I mean I have my class diagram with a customers class where they will put in their details and a DVD class for adding or removing DVDs and that will go into its own DB table I guess but I don't know the best way to say a DVD is rented or returned/in stock or whatever, does anyone have any ideas on this? I guess some kind of orders table with a unique ID? But what if I have a number of the same DVD? And do I need to transfer DB rows from the DVD table to the customer table and back? Just seems to confuse me more I think about it.