Siminov Core is a open source Object/Relational mapping solution which targets different platforms. It maps an platform specific object mdoel representation to a relational data model (and visa versa).
It not only take care of the mapping, but also provides data query and retrieval facilities.