diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-05 11:59:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-09-05 11:59:27 +0200 |
commit | 47e38764ebc759c0884921cfb594a215a88dcb98 (patch) | |
tree | 3b11cc7dcccbb54bbf7517ecf988d773d901331b /boost/driver.cxx | |
parent | c97a759dcc080705c956c87fce076709ca66a0c8 (diff) |
Support for Boost uuid persistence
New Boost sub-profile: uuid. New test: boost/common/uuid. Updated the
boost example to use uuid as an object id.
Diffstat (limited to 'boost/driver.cxx')
-rw-r--r-- | boost/driver.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/driver.cxx b/boost/driver.cxx index d38eb15..5a096f6 100644 --- a/boost/driver.cxx +++ b/boost/driver.cxx @@ -4,6 +4,8 @@ #include <memory> // std::auto_ptr #include <iostream> +#include <boost/uuid/uuid_io.hpp> + #include <odb/database.hxx> #include <odb/session.hxx> #include <odb/transaction.hxx> @@ -124,7 +126,8 @@ main (int argc, char* argv[]) cout << " email: " << *j << endl; } - cout << endl; + cout << " id: {" << p->id () << '}' << endl + << endl; } t.commit (); |