diff options
Diffstat (limited to 'boost/README')
-rw-r--r-- | boost/README | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/boost/README b/boost/README index 8e9f18f..848e40a 100644 --- a/boost/README +++ b/boost/README @@ -25,13 +25,15 @@ employee.sql These files are generated by the ODB compiler from employee.hxx using the following command line: - odb -d <database> -p boost --generate-schema --generate-query employee.hxx + odb -d <database> -p boost --generate-schema --generate-query \ + --generate-session employee.hxx Where <database> stands for the database system we are using, for example, 'mysql'. The -p option is used to instruct the ODB compiler to load the Boost - profile. + profile. The --generate-session option is used to enable session support + for all the persistent classes in employee.hxx. database.hxx Contains the create_database() function which instantiates the concrete |