From 3506ef645e4cd26aebb73f493001d584e4cce22a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Apr 2012 11:29:05 +0200 Subject: Make session optional --- qt/README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'qt/README') diff --git a/qt/README b/qt/README index 99ec974..077edba 100644 --- a/qt/README +++ b/qt/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 -p qt --generate-schema --generate-query employee.hxx + odb -d -p qt --generate-schema --generate-query \ + --generate-session employee.hxx Where stands for the database system we are using, for example, 'mysql'. - The -p option is used to instruct the ODB compiler to load the Qt - profile. + The -p option is used to instruct the ODB compiler to load the Qt profile. + The --generate-session option is used to enable session support for all + the persistent classes in employee.hxx. database.hxx Contains the createDatabase() function which instantiates the concrete -- cgit v1.1