diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-09 11:25:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 07:42:56 +0200 |
commit | 5df8fc85147cc89f083f53d2b1ccd2d8fedaab29 (patch) | |
tree | 1f382ed0868bc9a4639cb304db50980ce7b8ff19 /odb/options.cli | |
parent | df812d1a21d55f161099cd2ed7af7936bff17cf5 (diff) |
Add support for using custom session implementations
New option, --session-type.
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli index 5b67708..621db9f 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -181,6 +181,17 @@ class options directive to the generated code." }; + std::string --session-type = "odb::session" + { + "<type>", + "Use <type> as the alternative session type instead of the default + \cb{odb::session}. This option can be used to specify a custom + session implementation to be use by the persistent classes. Note + that you will also need to include the definition of the custom + session type into the generated header file. This is normally + achieved with the \cb{--hxx-prologue*} options." + }; + // The following option is "fake" in that it is actually handled by // argv_file_scanner. We have it here to get the documentation. // |