-
How to handle poli-morphism using MySQL
Hi,
We use poli-morphism with Java classes and I need to duplicate this with a database design... let me explain...
Lets assume:
- we have customers
- customers can either be rich or poor
- we want to store different details for rich and poor customers; i.e.for poor customers we may want to store information about payment problems, unpaid debt, etc. For rich customers we may want to store details about their assets and buying patterns...
- both rich and poor customers buy products
What is the best design you can think off?
Thanks for your time and effort
Josh
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|