How to handle poli-morphism using MySQL
We use poli-morphism with Java classes and I need to duplicate this with a database design... let me explain...
- 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? Can I use MySQL or should I use MS SQL or Oracle?
Thanks for your time and effort
By joshfolgado in forum Database
Last Post: 07-28-2009, 05:10 AM
By lewis905 in forum Database
Last Post: 09-16-2008, 06:45 AM
By airrazor in forum Database
Last Post: 10-04-2005, 05:00 PM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL