A relational database is not an object store. Relational databases don't even exist, instead we have SQL.
Anyway, a relational database is a data storage system. When writing code that uses said data, you may choose to fetch it and represent it in your program as objects. An ORM may help with this.
Most ORMs are not object persistence thingies, and they don't expect you to treat the database as opaque blob storage which magically makes objects. At some level, you end up writing something kind of like a SQL query.
If you truly want to store objects, and not store data in SQL tables, you should probably use an object database like Kioku.