There is a whole story on whether we have an object-oriented database (ORDBMS) or a simple mapping of objects (their attributes rather) to relational databases. The latter is called O/R mapping.

In the beauty of Smalltalk: http://www.glorp.org/

http://en.wikipedia.org/wiki/Object-relational_mapping

http://en.wikipedia.org/wiki/ORDBMS