aboutsummaryrefslogtreecommitdiff
path: root/template/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:14:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:14:08 +0200
commit8ce82c7b864d7299008dd413417a5823a7d747f5 (patch)
treef9612574c908d98585646f7245f8a078f15f856b /template/driver.cxx
parente4add374a96fdcb16fe9a8edc69f8a7418884e82 (diff)
Rename begin_transaction() to begin()
Diffstat (limited to 'template/driver.cxx')
-rw-r--r--template/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/driver.cxx b/template/driver.cxx
index a5b5714..387035d 100644
--- a/template/driver.cxx
+++ b/template/driver.cxx
@@ -26,7 +26,7 @@ main (int argc, char* argv[])
{
person p ("John", "Doe", 21);
- transaction t (db->begin_transaction ());
+ transaction t (db->begin ());
db->persist (p);
t.commit ();
}