[odb-users] How to get name of a table without reflection

Boris Kolpackov boris at codesynthesis.com
Tue Jun 28 10:03:12 EDT 2016


Hi Garvit,

Garvit Juniwal <garvit.juniwal at rubrik.com> writes:

> I have a persistent ODB object, say person. I want to be able to say
> something like person::table_name and that should return the string
> "person". I see a table_name static in the generated code, but is there a
> way to make that accessible?

Yes, it is accessible, see this thread from a few weeks ago:

http://www.codesynthesis.com/pipermail/odb-users/2016-April/003209.html

Boris



More information about the odb-users mailing list