Hi Everyone - hope your all well.
Ive been working on the classes for an asset/license tracking application. Keeping it quite simple, an asset object can have references to three license objects.
I fancied getting this information into a database so looked into
JDBC etc. Ive got to the stage where I can connect to the DB, enter the asset details into a form and store a new asset record into a database.
What im looking for is advice on how to reflect the relationship the objects have in a database. For example, my licenses will have to be stored in a LICENSE table with a reference to the unique id of its related record in the ASSET table.
Should I have to add variables such as assetKey to the license class? Are there existing technologies I should be investigating to make my life easier?
I just cannot find any good examples of how to do this or where to start looking.
Cheers
Danny