I don't know weather this is right place to post this question or not.I need to convert all
java objects
into database tables.For example
class Customer{
Item p;
}
class Item{
int quantity;
Brand br;
}
I have interface that has methods to retrives the above info,wrote class that implements this interface.
I can define customer as different table and Item as different table.I am confused with how to represent the thing that customer has item in database tables???
This is very low level picture I am giving.Basically I need to convert the classes like above into tables,and write queries to do the functions that are done by methods defined in interface.
How to do it?
I hope my question is clear.
Thanks
[ May 07, 2004: Message edited by: Veena Point ]