[odb-users] Defining database with multiple table mapping files

david bowe dpbowe at hotmail.com
Thu Feb 16 05:09:58 EST 2017


Ok sorry stupid question, I have this sorted now


________________________________
From: david bowe <dpbowe at hotmail.com>
Sent: 16 February 2017 09:10
To: odb-users at codesynthesis.com
Subject: Re: [odb-users] Defining database with multiple table mapping files


Thanks Boris,


This is great. So I can just include the the everthing-odb.cxx file generated by --at-once into my driver?

Also I appreciate that this isn't really an odb question, but how should I set the make file target for the odb compiler since it generates multiple output files?

Thanks,

David

________________________________
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: 15 February 2017 16:10
To: david bowe
Cc: odb-users at codesynthesis.com
Subject: Re: [odb-users] Defining database with multiple table mapping files

Hi David,

david bowe <dpbowe at hotmail.com> writes:

> At the moment I can either paste all headers into one file and pass
> it to the odb compiler, or try to compile each individually and
> include each into my database driver file.

Individual compilation/inclusion is definitely the recommended approach.
And if you need to generate a single .sql file, then you can use the
--at-once ODB compiler option.

Boris


More information about the odb-users mailing list