A relational databases relies on the relational model, on the other hand a object database relies on the OOP.
The relational model organizes information in a set of tables each are composed of rows and columns. Each column represents a property and each row represent an entity.
In a object oriented database each element resembles a object from the object oriented paradigm.
It is reasonable easy to map object into relational databases. For more information about the topic check these links: link1, link2.
Do you want to map a object oriented databe into a relational, or just some object from a program?
1) Relational database: A database built on the relational model, which organizes data into tables comprising columns and rows.
2) Object/relational database management systems (ORDBMSs) add new object storage capabilities to the relational systems at the core of modern information systems. By encapsulating methods with data structures, an ORDBMS server can execute complete analytical and data manipulation operations to search and transform multimedia and other complex objects.
You may look at the paper attached describing the approach for migrating existing Relational DataBases (RDBs) into Object-Relational DataBases (ORDBs).