[odb-users] Making a static pointer transient doesn't work

Alain-SergeNagni asnagni at yahoo.com
Thu Mar 24 07:18:44 EDT 2016


Hi Boris,
   Thank you for the clarification and I will get the updated document.

Talk soon,
Alain-Serge

Sent from my iPad

> On Mar 24, 2016, at 3:17 AM, Boris Kolpackov <boris at codesynthesis.com> wrote:
> 
> Hi Alain-Serge,
> 
> Alain-SergeNagni <asnagni at yahoo.com> writes:
> 
>> I'm evaluating ODB and I'm trying to make a static pointer transient by
>> using this ODB pragma tag in the class interface (the .hpp file):
>>           #pragma db transient
> 
> Static data member are not stored in the database so you shouldn't declare
> them transient. I've updated the manual to clairfy this.
> 
> Boris



More information about the odb-users mailing list