|
Java classes representing DB tables
I want to create java classes that represent some tables in my database, my question is how to deal with foriegn keys?
how can I refenrence them to their origanal tables?
say I have the following tables
student(StudId,fname,lname)
unit(UnitCode,name)
register(StudId,UnitCode)
assignment(Id,name,UnitCode)
Thank you
|