aboutsummaryrefslogtreecommitdiff
path: root/view/README
diff options
context:
space:
mode:
Diffstat (limited to 'view/README')
-rw-r--r--view/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/view/README b/view/README
index 0ade8ea..cba23b9 100644
--- a/view/README
+++ b/view/README
@@ -28,13 +28,14 @@ employee.sql
following command line:
odb -d <database> --generate-schema --generate-query \
- --default-pointer std::tr1::shared_ptr employee.hxx
+ --default-pointer std::tr1::shared_ptr --generate-session employee.hxx
Where <database> stands for the database system we are using, for example,
'mysql'.
The --default-pointer option is used to make TR1 shared_ptr the default
- object pointer.
+ object pointer. The --generate-session option is used to enable session
+ support for all the objects which is required to use object loading views.
database.hxx
Contains the create_database() function which instantiates the concrete