persisted objects with ODB and pgsql