Thanks for the reply!
To clarify, the tables could contain the following:
OBJ
----
ID TYPE
1 USER
2 USER
3 ACCOUNT
4 TRANSACTION
ATTR
----
OBJID NAME VALUE
1 NAME John Smith
1 ADDRESS Street 1
1 PHONE 1234-333444
2 NAME Greg Beard
2 ADDRESS...
If one stores an object's attributes as rows in a table with two columns (name, value) it makes for an incredibly flexible object/relational mapping implementation where the database can support all kinds of future objects without modification. The basic idea (very simplified) would then be to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.