Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Representation for Heterogeneous Attribute Set
I ran into a similar problem with a Rent and Royalties business domain
about 20 years ago.
I found that instead of the typical attribute modeling approach, such
as in Joe Celko's example, define the appropriate specialized
sub-classes based on the algorithms.
Here is a simple example with Loans where the Interest Calculation method changes over time.
Create table Loans ( Loan_PrimaryKey , StartDate, TermYears , ....)
Similary, there would be algorithm tables for each of the other Loan algorithm factors such as for Balloon Payments, Payment Frequency, Insurance, etc. Each of these could have their sub-classes which could have sub-classes.
These same structures could be used for regardless if a Loan is for a Home Mortgages, Home Equity or Line of Credit.
Hope this Helps. Received on Fri Feb 11 2005 - 16:00:13 CST
![]() |
![]() |