[odb-users] followup - storing a UUID as binary(16) in mysql

Boris Kolpackov boris at codesynthesis.com
Tue Jul 31 14:32:29 EDT 2012


Hi Doug,

Douglas Tomm <dctomm at gmail.com> writes:

> i used this command line (with hxx-epilogue):
> 
> /opt/odb-2.0.0-i686-linux-gnu/bin/odb -I. -I/usr/local/include --database
> mysql --generate-query --hxx-epilogue '#include "uuid_traits.h"' mytest.h

You need to use --hxx-prologue instead of --hxx-epilogue (I corrected an
incorrect answers with another incorrect one -- shame on me).

Boris



More information about the odb-users mailing list