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

Garvit Juniwal garvit.juniwal at rubrik.com
Mon Jun 27 18:34:09 EDT 2016


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? Or is there some other trick that can be used?

Garvit


More information about the odb-users mailing list