If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Questions about Polimorphism

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-19-04, 06:46
fcolmenero fcolmenero is offline
Registered User
 
Join Date: Aug 2004
Posts: 4
Questions about Polimorphism

Hi,
I want to use a database for log control process information and I must
to store this info in event format:

Timestamp: Event timestamp
OID: Event object source id
oldvalue: Old value of object property
newvalue: Old value of object property


The problem consists on the values can be:

- Integers
- Floats
- Booleans
-....

How I can to model this kind of polimorphism ? In OO world it can be solved with a class hierarchy (extends), but I don't know how can i to solve this problem in ER paradigm

Thanks...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On